[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang-tools-extra / test / clang-apply-replacements / relative-paths.cpp
blob92cde84134473a3112e9ffb05e1d7539cb65ee14
1 // RUN: mkdir -p %T/Inputs/relative-paths
2 // RUN: mkdir -p %T/Inputs/relative-paths/subdir
3 // RUN: grep -Ev "// *[A-Z-]+:" %S/Inputs/relative-paths/basic.h > %T/Inputs/relative-paths/basic.h
4 // RUN: sed "s#\$(path)#%/T/Inputs/relative-paths#" %S/Inputs/relative-paths/file1.yaml > %T/Inputs/relative-paths/file1.yaml
5 // RUN: sed "s#\$(path)#%/T/Inputs/relative-paths#" %S/Inputs/relative-paths/file2.yaml > %T/Inputs/relative-paths/file2.yaml
6 // RUN: clang-apply-replacements %T/Inputs/relative-paths
7 // RUN: FileCheck -input-file=%T/Inputs/relative-paths/basic.h %S/Inputs/relative-paths/basic.h