summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2018-04-10 20:59:27 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2018-04-10 20:59:27 +0000
commit9f742bc2e95075867b239c5c8bde907532efa744 (patch)
tree4d75e52a8a3a390ae84c17889767f3db94ffd81c
parent3b6d46761f139e7ee3057758698efa4487323829 (diff)
downloadbcm5719-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.cpp3
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"
OpenPOWER on IntegriCloud