File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ namespace clang::tidy::bugprone {
2020
2121namespace {
2222
23+ // Preserve same name as AST_MATCHER(isCompleteAndHasNoZeroValue)
2324// NOLINTNEXTLINE(llvm-prefer-static-over-anonymous-namespace)
2425bool isCompleteAndHasNoZeroValue (const EnumDecl *D) {
2526 const EnumDecl *Definition = D->getDefinition ();
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ AST_MATCHER(Stmt, isMacroExpansion) {
2929
3030AST_MATCHER (Stmt, isC23) { return Finder->getASTContext ().getLangOpts ().C23 ; }
3131
32+ // Preserve same name as AST_MATCHER(isNULLMacroExpansion)
3233// NOLINTNEXTLINE(llvm-prefer-static-over-anonymous-namespace)
3334bool isNULLMacroExpansion (const Stmt *Statement, ASTContext &Context) {
3435 SourceManager &SM = Context.getSourceManager ();
You can’t perform that action at this time.
0 commit comments