[Flang][Parser] Add missing #include "flang/Common/idioms.h" (#77484)
[llvm-project.git] / clang-tools-extra / test / clang-apply-replacements / ClangRenameClassReplacements.cpp
blob2b478bbf900df8339b07f63e9fbc5f1e94f6832f
1 // RUN: rm -rf %t
2 // RUN: mkdir -p %t/fixes
3 // RUN: cat %s > %t.cpp
4 // RUN: clang-rename -offset=254 -new-name=Bar -export-fixes=%t/fixes/clang-rename.yaml %t.cpp --
5 // RUN: clang-apply-replacements %t
6 // RUN: sed 's,//.*,,' %t.cpp | FileCheck %s
8 class Foo {}; // CHECK: class Bar {};
10 // Use grep -FUbo 'Foo' <file> to get the correct offset of Cla when changing
11 // this file.