This revision was automatically updated to reflect the committed changes. Closed by commit rGd8117542ac57: Adds -Wrange-loop-analysis to -Wall (authored by Mordante).
Changed prior to commit: https://reviews.llvm.org/D68912?vs=226539&id=235783#toc Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D68912/new/ https://reviews.llvm.org/D68912 Files: clang/include/clang/Basic/DiagnosticGroups.td clang/test/Misc/warning-wall.c 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 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wloop-analysis -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s Index: clang/test/Misc/warning-wall.c =================================================================== --- clang/test/Misc/warning-wall.c +++ clang/test/Misc/warning-wall.c @@ -8,7 +8,6 @@ CHECK-NEXT: -Wdelete-non-virtual-dtor CHECK-NEXT: -Wdelete-non-abstract-non-virtual-dtor CHECK-NEXT: -Wdelete-abstract-non-virtual-dtor -CHECK-NEXT: -Wfor-loop-analysis CHECK-NEXT: -Wformat CHECK-NEXT: -Wformat-extra-args CHECK-NEXT: -Wformat-zero-length @@ -21,6 +20,9 @@ CHECK-NEXT: -Wimplicit-int CHECK-NEXT: -Winfinite-recursion CHECK-NEXT: -Wint-in-bool-context +CHECK-NEXT: -Wloop-analysis +CHECK-NEXT: -Wfor-loop-analysis +CHECK-NEXT: -Wrange-loop-analysis CHECK-NEXT: -Wmismatched-tags CHECK-NEXT: -Wmissing-braces CHECK-NEXT: -Wmove Index: clang/include/clang/Basic/DiagnosticGroups.td =================================================================== --- clang/include/clang/Basic/DiagnosticGroups.td +++ clang/include/clang/Basic/DiagnosticGroups.td @@ -857,11 +857,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 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wloop-analysis -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s Index: clang/test/Misc/warning-wall.c =================================================================== --- clang/test/Misc/warning-wall.c +++ clang/test/Misc/warning-wall.c @@ -8,7 +8,6 @@ CHECK-NEXT: -Wdelete-non-virtual-dtor CHECK-NEXT: -Wdelete-non-abstract-non-virtual-dtor CHECK-NEXT: -Wdelete-abstract-non-virtual-dtor -CHECK-NEXT: -Wfor-loop-analysis CHECK-NEXT: -Wformat CHECK-NEXT: -Wformat-extra-args CHECK-NEXT: -Wformat-zero-length @@ -21,6 +20,9 @@ CHECK-NEXT: -Wimplicit-int CHECK-NEXT: -Winfinite-recursion CHECK-NEXT: -Wint-in-bool-context +CHECK-NEXT: -Wloop-analysis +CHECK-NEXT: -Wfor-loop-analysis +CHECK-NEXT: -Wrange-loop-analysis CHECK-NEXT: -Wmismatched-tags CHECK-NEXT: -Wmissing-braces CHECK-NEXT: -Wmove Index: clang/include/clang/Basic/DiagnosticGroups.td =================================================================== --- clang/include/clang/Basic/DiagnosticGroups.td +++ clang/include/clang/Basic/DiagnosticGroups.td @@ -857,11 +857,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