diff options
| author | Eric Christopher <echristo@gmail.com> | 2019-12-09 19:13:31 -0800 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2019-12-09 19:14:04 -0800 |
| commit | 52b1c94a5fe47c8bb5e189bc40bfd50255ce5795 (patch) | |
| tree | 8203c152a03c451c74b02fe567a0d21c0b503d8e /clang-tools-extra/test/clang-tidy/checkers/cert-mem57-cpp-cpp17.cpp | |
| parent | 05b0c76aa76ebdd77cae6c13aacb0079d49b4350 (diff) | |
| download | bcm5719-llvm-52b1c94a5fe47c8bb5e189bc40bfd50255ce5795.tar.gz bcm5719-llvm-52b1c94a5fe47c8bb5e189bc40bfd50255ce5795.zip | |
Turn off unused variable checking here since we're explicitly adding
a command line for clang-tidy.
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/checkers/cert-mem57-cpp-cpp17.cpp')
| -rw-r--r-- | clang-tools-extra/test/clang-tidy/checkers/cert-mem57-cpp-cpp17.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/test/clang-tidy/checkers/cert-mem57-cpp-cpp17.cpp b/clang-tools-extra/test/clang-tidy/checkers/cert-mem57-cpp-cpp17.cpp index d393b229bda..f26098682c2 100644 --- a/clang-tools-extra/test/clang-tidy/checkers/cert-mem57-cpp-cpp17.cpp +++ b/clang-tools-extra/test/clang-tidy/checkers/cert-mem57-cpp-cpp17.cpp @@ -1,6 +1,6 @@ // RUN: %check_clang_tidy %s -std=c++14 cert-mem57-cpp %t -// RUN: clang-tidy --extra-arg='-std=c++17' --extra-arg='-faligned-allocation' -checks='-*,cert-mem57-cpp' --warnings-as-errors='*' %s -// RUN: clang-tidy --extra-arg='-std=c++2a' --extra-arg='-faligned-allocation' -checks='-*,cert-mem57-cpp' --warnings-as-errors='*' %s +// RUN: clang-tidy --extra-arg='-std=c++17' --extra-arg='-faligned-allocation' -checks='-*,cert-mem57-cpp' --extra-arg=-Wno-unused-variable --warnings-as-errors='*' %s +// RUN: clang-tidy --extra-arg='-std=c++2a' --extra-arg='-faligned-allocation' -checks='-*,cert-mem57-cpp' --extra-arg=-Wno-unused-variable --warnings-as-errors='*' %s struct alignas(128) Vector { char Elems[128]; |

