Clang Project

clang_source_code/test/clang-rename/YAMLInput.cpp
1class Foo1 { // CHECK: class Bar1
2};
3
4class Foo2 { // CHECK: class Bar2
5};
6
7// Test 1.
8// RUN: clang-rename -input %S/Inputs/OffsetToNewName.yaml %s -- | sed 's,//.*,,' | FileCheck %s
9// Test 2.
10// RUN: clang-rename -input %S/Inputs/QualifiedNameToNewName.yaml %s -- | sed 's,//.*,,' | FileCheck %s
11