Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang-tidy #5

Open
wants to merge 1 commit into
base: ltex25-nomove
Choose a base branch
from
Open

clang-tidy #5

wants to merge 1 commit into from

Conversation

psampathkumar
Copy link
Owner

No description provided.

@psampathkumar psampathkumar force-pushed the clang-tidy branch 6 times, most recently from 4f5bb16 to 4530622 Compare August 1, 2022 17:03
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

client/chatline.cpp Outdated Show resolved Hide resolved
client/chatline.cpp Outdated Show resolved Hide resolved
client/messagewin.cpp Outdated Show resolved Hide resolved
client/messagewin.cpp Outdated Show resolved Hide resolved
client/widgetdecorations.cpp Outdated Show resolved Hide resolved
client/widgetdecorations.cpp Outdated Show resolved Hide resolved
client/widgetdecorations.cpp Outdated Show resolved Hide resolved
@@ -12,6 +12,7 @@
************* V ******************************************************/
#pragma once

#include <QFlags>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: 'QFlags' file not found [clang-diagnostic-error]

#include <QFlags>
         ^

client/widgetdecorations.h Outdated Show resolved Hide resolved
client/widgetdecorations.h Outdated Show resolved Hide resolved
@psampathkumar psampathkumar force-pushed the clang-tidy branch 2 times, most recently from 1985762 to 16af97b Compare August 1, 2022 18:21
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

client/citydlg.cpp Outdated Show resolved Hide resolved
client/mapview.h Outdated Show resolved Hide resolved
client/page_load.cpp Outdated Show resolved Hide resolved
client/renderer.cpp Outdated Show resolved Hide resolved
client/renderer.cpp Outdated Show resolved Hide resolved
common/government.cpp Outdated Show resolved Hide resolved
common/government.cpp Outdated Show resolved Hide resolved
common/government.cpp Outdated Show resolved Hide resolved
};

extern std::vector<government> governments;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: variable 'std' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]

extern std::vector<government> governments;
       ^

utility/fcintl.h Outdated Show resolved Hide resolved
@psampathkumar psampathkumar force-pushed the clang-tidy branch 4 times, most recently from 8ea18ad to cff033d Compare August 2, 2022 13:15
@psampathkumar psampathkumar changed the base branch from master to ltex25-nomove August 2, 2022 13:17
@psampathkumar psampathkumar force-pushed the clang-tidy branch 2 times, most recently from ec4e262 to 29f6662 Compare August 2, 2022 13:27
Workflow for suggesstions using clang-tidy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant