We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93c933b commit 46ef531Copy full SHA for 46ef531
clang-tools-extra/clang-tidy/readability/EnumInitialValueCheck.cpp
@@ -165,9 +165,6 @@ void EnumInitialValueCheck::registerMatchers(MatchFinder *Finder) {
165
}
166
167
void EnumInitialValueCheck::check(const MatchFinder::MatchResult &Result) {
168
- PrintingPolicy PP = Result.Context->getPrintingPolicy();
169
- PP.AnonymousTagLocations = false;
170
-
171
if (const auto *Enum = Result.Nodes.getNodeAs<EnumDecl>("inconsistent")) {
172
DiagnosticBuilder Diag =
173
diag(
0 commit comments