summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-include-fixer/prefix_variable.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-03-25 14:09:10 +0000
committerNico Weber <nicolasweber@gmx.de>2019-03-25 14:09:10 +0000
commit43356f56bd2ede05c70db537e3f8b50a31444487 (patch)
tree2e5053b7c5d732251b093c2baeb9be2446d2f547 /clang-tools-extra/test/clang-include-fixer/prefix_variable.cpp
parent2ef15d82e9086b97a18d7acbcbca31a81450105c (diff)
downloadbcm5719-llvm-43356f56bd2ede05c70db537e3f8b50a31444487.tar.gz
bcm5719-llvm-43356f56bd2ede05c70db537e3f8b50a31444487.zip
Rename directory housing clang-include-fixer to be eponymous
Makes the name of this directory consistent with the names of the other directories in clang-tools-extra. Similar to r356254. No intended behavior change. Differential Revision: https://reviews.llvm.org/D59750 llvm-svn: 356897
Diffstat (limited to 'clang-tools-extra/test/clang-include-fixer/prefix_variable.cpp')
-rw-r--r--clang-tools-extra/test/clang-include-fixer/prefix_variable.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-include-fixer/prefix_variable.cpp b/clang-tools-extra/test/clang-include-fixer/prefix_variable.cpp
new file mode 100644
index 00000000000..b39cdb8d38d
--- /dev/null
+++ b/clang-tools-extra/test/clang-include-fixer/prefix_variable.cpp
@@ -0,0 +1,10 @@
+// RUN: sed -e 's#//.*$##' %s > %t.cpp
+// RUN: clang-include-fixer -db=yaml -input=%p/Inputs/fake_yaml_db.yaml %t.cpp --
+// RUN: FileCheck %s -input-file=%t.cpp
+
+// CHECK-NOT: #include
+// CHECK: doesnotexist f;
+
+namespace b {
+doesnotexist f;
+}
OpenPOWER on IntegriCloud