[clang-format] Fix a bug in aligning comments above PPDirective (#72791)
[llvm-project.git] / clang / test / clang-rename / Namespace.cpp
blobec9630fdedb6affba79972eb17679ee56336c4f1
1 namespace gcc /* Test 1 */ { // CHECK: namespace clang /* Test 1 */ {
2 int x;
5 void boo() {
6 gcc::x = 42; // CHECK: clang::x = 42;
9 // Test 1.
10 // RUN: clang-rename -offset=10 -new-name=clang %s -- | sed 's,//.*,,' | FileCheck %s
12 // To find offsets after modifying the file, use:
13 // grep -Ubo 'Foo.*' <file>