Mordante updated this revision to Diff 226539. Mordante added a comment. Adds a test as requested by @xbolva00 .
CHANGES SINCE LAST ACTION https://reviews.llvm.org/D68912/new/ https://reviews.llvm.org/D68912 Files: clang/include/clang/Basic/DiagnosticGroups.td clang/test/SemaCXX/warn-range-loop-analysis.cpp Index: clang/test/SemaCXX/warn-range-loop-analysis.cpp =================================================================== --- clang/test/SemaCXX/warn-range-loop-analysis.cpp +++ clang/test/SemaCXX/warn-range-loop-analysis.cpp @@ -1,3 +1,4 @@ +// RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wall -Wno-unused -verify %s // RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wloop-analysis -verify %s // RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wrange-loop-analysis -verify %s Index: clang/include/clang/Basic/DiagnosticGroups.td =================================================================== --- clang/include/clang/Basic/DiagnosticGroups.td +++ clang/include/clang/Basic/DiagnosticGroups.td @@ -818,11 +818,11 @@ CharSubscript, Comment, DeleteNonVirtualDtor, - ForLoopAnalysis, Format, Implicit, InfiniteRecursion, IntInBoolContext, + LoopAnalysis, MismatchedTags, MissingBraces, Move,
Index: clang/test/SemaCXX/warn-range-loop-analysis.cpp =================================================================== --- clang/test/SemaCXX/warn-range-loop-analysis.cpp +++ clang/test/SemaCXX/warn-range-loop-analysis.cpp @@ -1,3 +1,4 @@ +// RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wall -Wno-unused -verify %s // RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wloop-analysis -verify %s // RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wrange-loop-analysis -verify %s Index: clang/include/clang/Basic/DiagnosticGroups.td =================================================================== --- clang/include/clang/Basic/DiagnosticGroups.td +++ clang/include/clang/Basic/DiagnosticGroups.td @@ -818,11 +818,11 @@ CharSubscript, Comment, DeleteNonVirtualDtor, - ForLoopAnalysis, Format, Implicit, InfiniteRecursion, IntInBoolContext, + LoopAnalysis, MismatchedTags, MissingBraces, Move,
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits