diff options
author | Alexander Kornienko <alexfh@google.com> | 2015-08-20 17:58:07 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2015-08-20 17:58:07 +0000 |
commit | 43556bb7f09e9af8a6ab6b4155f52526fd48992e (patch) | |
tree | ca40c20af35cf5f030a3da33fc0a3d4027e177b9 /clang-tools-extra/test/clang-tidy/modernize-use-nullptr-basic.cpp | |
parent | 2335bb7e16bb8533de14e3d3edf72606265d3a08 (diff) | |
download | bcm5719-llvm-43556bb7f09e9af8a6ab6b4155f52526fd48992e.tar.gz bcm5719-llvm-43556bb7f09e9af8a6ab6b4155f52526fd48992e.zip |
[clang-tidy] Use a python script instead of a shell script to run clang-tidy tests.
Summary:
Add check_clang_tidy.py script that is functionally identical to the
check_clang_tidy.py, but should also be functional on windows.
I've verified that the script works on linux. Would be nice if folks using
Windows could test the patch before I break windows bots ;)
Reviewers: chapuni, aaron.ballman
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D12180
llvm-svn: 245583
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/modernize-use-nullptr-basic.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/modernize-use-nullptr-basic.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang-tools-extra/test/clang-tidy/modernize-use-nullptr-basic.cpp b/clang-tools-extra/test/clang-tidy/modernize-use-nullptr-basic.cpp index 28c5ae15213..e78c5f1a147 100644 --- a/clang-tools-extra/test/clang-tidy/modernize-use-nullptr-basic.cpp +++ b/clang-tools-extra/test/clang-tidy/modernize-use-nullptr-basic.cpp @@ -1,6 +1,5 @@ -// RUN: $(dirname %s)/check_clang_tidy.sh %s modernize-use-nullptr %t -- \ +// RUN: %python %S/check_clang_tidy.py %s modernize-use-nullptr %t -- \ // RUN: -std=c++98 -Wno-non-literal-null-conversion -// REQUIRES: shell const unsigned int g_null = 0; #define NULL 0 |