summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/modernize-use-nullptr.c
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-08-27 22:19:50 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-08-27 22:19:50 +0000
commit46c9ae357844dbe8d0101491a1863a73b6ce1a04 (patch)
tree1d0512a49b45c09d16e349abd66c3f2d48329eb8 /clang-tools-extra/test/clang-tidy/modernize-use-nullptr.c
parentc7eaa17fe1fab9e0dc1e0cbb0978003ca77fd388 (diff)
downloadbcm5719-llvm-46c9ae357844dbe8d0101491a1863a73b6ce1a04.tar.gz
bcm5719-llvm-46c9ae357844dbe8d0101491a1863a73b6ce1a04.zip
Reverting r246209 while I investigate a build bot failure: http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/30516
llvm-svn: 246224
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/modernize-use-nullptr.c')
-rw-r--r--clang-tools-extra/test/clang-tidy/modernize-use-nullptr.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/clang-tools-extra/test/clang-tidy/modernize-use-nullptr.c b/clang-tools-extra/test/clang-tidy/modernize-use-nullptr.c
deleted file mode 100644
index c2ccbbd8117..00000000000
--- a/clang-tools-extra/test/clang-tidy/modernize-use-nullptr.c
+++ /dev/null
@@ -1,10 +0,0 @@
-// RUN: clang-tidy %s -checks=-*,modernize-use-nullptr -- | count 0
-
-// Note: this test expects no diagnostics, but FileCheck cannot handle that,
-// hence the use of | count 0.
-
-#define NULL 0
-void f(void) {
- char *str = NULL; // ok
- (void)str;
-}
OpenPOWER on IntegriCloud