summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/change-namespace/white-list.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-03-15 11:54:01 +0000
committerNico Weber <nicolasweber@gmx.de>2019-03-15 11:54:01 +0000
commit5f5a74582f8abb2935f9a6f6df3a55dc825f5412 (patch)
tree2aa657988900c89738e4041868c6efa0193798fd /clang-tools-extra/test/change-namespace/white-list.cpp
parent398f9bb4341d79941b4c2ae3bd31a3f6f614e459 (diff)
downloadbcm5719-llvm-5f5a74582f8abb2935f9a6f6df3a55dc825f5412.tar.gz
bcm5719-llvm-5f5a74582f8abb2935f9a6f6df3a55dc825f5412.zip
Rename directory housing clang-change-namespace to be eponymous
Makes the name of this directory consistent with the names of the other directories in clang-tools-extra. Differential Revision: https://reviews.llvm.org/D59382 llvm-svn: 356254
Diffstat (limited to 'clang-tools-extra/test/change-namespace/white-list.cpp')
-rw-r--r--clang-tools-extra/test/change-namespace/white-list.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/clang-tools-extra/test/change-namespace/white-list.cpp b/clang-tools-extra/test/change-namespace/white-list.cpp
deleted file mode 100644
index 48e3a78a0e0..00000000000
--- a/clang-tools-extra/test/change-namespace/white-list.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
-// RUN: echo "^std::.*$" > %T/white-list.txt
-// RUN: clang-change-namespace -old_namespace "na::nb" -new_namespace "x::y" --file_pattern ".*" --whitelist_file %T/white-list.txt %s -- | sed 's,// CHECK.*,,' | FileCheck %s
-
-#include "Inputs/fake-std.h"
-
-// CHECK: namespace x {
-// CHECK-NEXT: namespace y {
-namespace na {
-namespace nb {
-void f() {
- std::STD x1;
- STD x2;
-// CHECK: {{^}} std::STD x1;{{$}}
-// CHECK-NEXT: {{^}} STD x2;{{$}}
-}
-// CHECK: } // namespace y
-// CHECK-NEXT: } // namespace x
-}
-}
OpenPOWER on IntegriCloud