summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-include-fixer/fixeddb.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/fixeddb.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/fixeddb.cpp')
-rw-r--r--clang-tools-extra/test/clang-include-fixer/fixeddb.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-include-fixer/fixeddb.cpp b/clang-tools-extra/test/clang-include-fixer/fixeddb.cpp
new file mode 100644
index 00000000000..90068dbfde1
--- /dev/null
+++ b/clang-tools-extra/test/clang-include-fixer/fixeddb.cpp
@@ -0,0 +1,8 @@
+// RUN: sed -e 's#//.*$##' %s > %t.cpp
+// RUN: clang-include-fixer -db=fixed -input='foo= "foo.h","bar.h"' %t.cpp --
+// RUN: FileCheck %s -input-file=%t.cpp
+
+// CHECK: #include "foo.h"
+// CHECK: foo f;
+
+foo f;
OpenPOWER on IntegriCloud