1 // REQUIRES: shell 2 // RUN: sed -e 's#//.*$##' %s > %t.cpp 3 // RUN: mkdir -p %T/clang-include-fixer/multiple-fixes 4 // RUN: echo 'foo f;' > %T/clang-include-fixer/multiple-fixes/foo.cpp 5 // RUN: echo 'bar b;' > %T/clang-include-fixer/multiple-fixes/bar.cpp 6 // RUN: clang-include-fixer -db=fixed -input='foo= "foo.h";bar= "bar.h"' %T/clang-include-fixer/multiple-fixes/*.cpp -- 7 // RUN: FileCheck -input-file=%T/clang-include-fixer/multiple-fixes/bar.cpp %s -check-prefix=CHECK-BAR 8 // RUN: FileCheck -input-file=%T/clang-include-fixer/multiple-fixes/foo.cpp %s -check-prefix=CHECK-FOO 9 // 10 // CHECK-FOO: #include "foo.h" 11 // CHECK-FOO: foo f; 12 // CHECK-BAR: #include "bar.h" 13 // CHECK-BAR: bar b; 14