1 #define moo foo // CHECK: #define moo macro_function
3 int foo() /* Test 1 */ { // CHECK: int macro_function() /* Test 1 */ {
10 foo(); // CHECK: macro_function();
11 boo(foo()); // CHECK: boo(macro_function());
17 // RUN: clang-rename -offset=68 -new-name=macro_function %s -- | sed 's,//.*,,' | FileCheck %s
19 // To find offsets after modifying the file, use:
20 // grep -Ubo 'foo.*' <file>