summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2016-09-08 18:02:14 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2016-09-08 18:02:14 +0000
commit7d61594f336cd1fb7ff8adf39ea28644ef366224 (patch)
treecb5118b29b78f72185eb7c6621f543e7d5b69476
parentd745c2894584e8a1448537823b509439240bbba0 (diff)
downloadbcm5719-llvm-7d61594f336cd1fb7ff8adf39ea28644ef366224.tar.gz
bcm5719-llvm-7d61594f336cd1fb7ff8adf39ea28644ef366224.zip
Revert "Resubmit "Add a test for clang-tidy using the clang-cl driver.""
This reverts commit r280839. It's problematic on OS X, where the '/Users/...' paths are interpreted as '/U' options. Investigation ongoing in http://llvm.org/PR30328. llvm-svn: 280975
-rw-r--r--clang-tools-extra/test/clang-tidy/clang-cl-driver.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/clang-tools-extra/test/clang-tidy/clang-cl-driver.cpp b/clang-tools-extra/test/clang-tidy/clang-cl-driver.cpp
deleted file mode 100644
index fac03628233..00000000000
--- a/clang-tools-extra/test/clang-tidy/clang-cl-driver.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-// RUN: clang-tidy -checks=-*,modernize-use-nullptr %s -- --driver-mode=cl /DTEST1 /DFOO=foo /DBAR=bar | FileCheck -implicit-check-not="{{warning|error}}:" %s
-int *a = 0;
-// CHECK: :[[@LINE-1]]:10: warning: use nullptr
-#ifdef TEST1
-int *b = 0;
-// CHECK: :[[@LINE-1]]:10: warning: use nullptr
-#endif
-#define foo 1
-#define bar 1
-#if FOO
-int *c = 0;
-// CHECK: :[[@LINE-1]]:10: warning: use nullptr
-#endif
-#if BAR
-int *d = 0;
-// CHECK: :[[@LINE-1]]:10: warning: use nullptr
-#endif
OpenPOWER on IntegriCloud