diff options
author | Manuel Klimek <klimek@google.com> | 2015-10-22 11:31:44 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2015-10-22 11:31:44 +0000 |
commit | b91bee06deefe77a51d0a39b06c086df19aec82c (patch) | |
tree | 45c6815c0a378b521540dd7d7505521dc74f6285 /clang-tools-extra/test/clang-tidy/readability-function-size.cpp | |
parent | fbfa7a1e14b5e5c141775850d2aa731fc5cac2dc (diff) | |
download | bcm5719-llvm-b91bee06deefe77a51d0a39b06c086df19aec82c.tar.gz bcm5719-llvm-b91bee06deefe77a51d0a39b06c086df19aec82c.zip |
Add %check_clang_tidy and %clang_tidy_diff.
With this, site specific lit configs can inject parameters into the
test scripts if they need site specific parameters.
Next up: enable check_clang_tidy to take a resource dir to enable
non-standard locations for builtin includes.
llvm-svn: 251010
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/readability-function-size.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/readability-function-size.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/readability-function-size.cpp b/clang-tools-extra/test/clang-tidy/readability-function-size.cpp index 7bf2eff6449..9536bb6fe1a 100644 --- a/clang-tools-extra/test/clang-tidy/readability-function-size.cpp +++ b/clang-tools-extra/test/clang-tidy/readability-function-size.cpp @@ -1,4 +1,4 @@ -// RUN: %python %S/check_clang_tidy.py %s readability-function-size %t -config='{CheckOptions: [{key: readability-function-size.LineThreshold, value: 0}, {key: readability-function-size.StatementThreshold, value: 0}, {key: readability-function-size.BranchThreshold, value: 0}]}' -- -std=c++11 +// RUN: %check_clang_tidy %s readability-function-size %t -config='{CheckOptions: [{key: readability-function-size.LineThreshold, value: 0}, {key: readability-function-size.StatementThreshold, value: 0}, {key: readability-function-size.BranchThreshold, value: 0}]}' -- -std=c++11 void foo1() { } |