9 lines · cpp
1// RUN: sed -e 's#//.*$##' %s > %t.cpp2// RUN: clang-include-fixer -db=fixed -input='foo= "foo.h","bar.h"' %t.cpp --3// RUN: FileCheck %s -input-file=%t.cpp4 5// CHECK: #include "foo.h"6// CHECK: foo f;7 8foo f;9 1// RUN: sed -e 's#//.*$##' %s > %t.cpp2// RUN: clang-include-fixer -db=fixed -input='foo= "foo.h","bar.h"' %t.cpp --3// RUN: FileCheck %s -input-file=%t.cpp4 5// CHECK: #include "foo.h"6// CHECK: foo f;7 8foo f;9