You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
332 B
14 lines
332 B
namespace gcc /* Test 1 */ { // CHECK: namespace clang /* Test 1 */ {
|
|
int x;
|
|
}
|
|
|
|
void boo() {
|
|
gcc::x = 42; // CHECK: clang::x = 42;
|
|
}
|
|
|
|
// Test 1.
|
|
// RUN: clang-rename -offset=10 -new-name=clang %s -- | sed 's,//.*,,' | FileCheck %s
|
|
|
|
// To find offsets after modifying the file, use:
|
|
// grep -Ubo 'Foo.*' <file>
|