Skip to content

Commit

Permalink
[clang-change-namespace] Change file pattern to be an anchored regex
Browse files Browse the repository at this point in the history
  • Loading branch information
kadircet committed Dec 4, 2019
1 parent fa9dd41 commit 82f6ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang-tools-extra/test/clang-change-namespace/macro.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// RUN: cp %S/macro.cpp %T/macro.cpp
// RUN: echo "#define USING using na::nc::X" > %T/macro.h
//
// RUN: clang-change-namespace -old_namespace "na::nb" -new_namespace "x::y" --file_pattern "macro.cpp" --i %T/macro.cpp --
// RUN: clang-change-namespace -old_namespace "na::nb" -new_namespace "x::y" --file_pattern "macro.cpp$" --i %T/macro.cpp --
// RUN: FileCheck -input-file=%T/macro.cpp -check-prefix=CHECK-CC %s
// RUN: FileCheck -input-file=%T/macro.h -check-prefix=CHECK-HEADER %s
//
Expand Down

0 comments on commit 82f6ae5

Please sign in to comment.