diff options
| author | Roman Lebedev <lebedev.ri@gmail.com> | 2018-04-10 20:59:27 +0000 |
|---|---|---|
| committer | Roman Lebedev <lebedev.ri@gmail.com> | 2018-04-10 20:59:27 +0000 |
| commit | 9f742bc2e95075867b239c5c8bde907532efa744 (patch) | |
| tree | 4d75e52a8a3a390ae84c17889767f3db94ffd81c | |
| parent | 3b6d46761f139e7ee3057758698efa4487323829 (diff) | |
| download | bcm5719-llvm-9f742bc2e95075867b239c5c8bde907532efa744.tar.gz bcm5719-llvm-9f742bc2e95075867b239c5c8bde907532efa744.zip | |
[clang-tidy] Unbreak run-clang-tidy.cpp test (modernize-use-auto.MinTypeNameLength)
Again, refs. D45405, rL329730.
llvm-svn: 329756
| -rw-r--r-- | clang-tools-extra/test/clang-tidy/run-clang-tidy.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-tidy/run-clang-tidy.cpp b/clang-tools-extra/test/clang-tidy/run-clang-tidy.cpp index 28e6d75e479..2207e430fc4 100644 --- a/clang-tools-extra/test/clang-tidy/run-clang-tidy.cpp +++ b/clang-tools-extra/test/clang-tidy/run-clang-tidy.cpp @@ -3,6 +3,9 @@ // RUN: echo "[{\"directory\":\".\",\"command\":\"clang++ -c %/t/test.cpp\",\"file\":\"%/t/test.cpp\"}]" | sed -e 's/\\/\\\\/g' > %t/compile_commands.json // RUN: echo "Checks: '-*,modernize-use-auto'" > %t/.clang-tidy // RUN: echo "WarningsAsErrors: '*'" >> %t/.clang-tidy +// RUN: echo "CheckOptions:" >> %t/.clang-tidy +// RUN: echo " - key: modernize-use-auto.MinTypeNameLength" >> %t/.clang-tidy +// RUN: echo " value: '0'" >> %t/.clang-tidy // RUN: cp "%s" "%t/test.cpp" // RUN: cd "%t" // RUN: not %run_clang_tidy "%t/test.cpp" |

