diff options
Diffstat (limited to 'clang/test/Modules/Inputs/codegen')
-rw-r--r-- | clang/test/Modules/Inputs/codegen/bar.h | 2 | ||||
-rw-r--r-- | clang/test/Modules/Inputs/codegen/bar.modulemap | 1 | ||||
-rw-r--r-- | clang/test/Modules/Inputs/codegen/foo.h | 12 | ||||
-rw-r--r-- | clang/test/Modules/Inputs/codegen/use.cpp | 2 |
4 files changed, 3 insertions, 14 deletions
diff --git a/clang/test/Modules/Inputs/codegen/bar.h b/clang/test/Modules/Inputs/codegen/bar.h deleted file mode 100644 index a00e8f70e08..00000000000 --- a/clang/test/Modules/Inputs/codegen/bar.h +++ /dev/null @@ -1,2 +0,0 @@ -#include "foo.h" -inline void bar() { foo(); } diff --git a/clang/test/Modules/Inputs/codegen/bar.modulemap b/clang/test/Modules/Inputs/codegen/bar.modulemap deleted file mode 100644 index f1dc625857e..00000000000 --- a/clang/test/Modules/Inputs/codegen/bar.modulemap +++ /dev/null @@ -1 +0,0 @@ -module bar { header "bar.h" } diff --git a/clang/test/Modules/Inputs/codegen/foo.h b/clang/test/Modules/Inputs/codegen/foo.h index b3a7af7c9d9..3fcab718573 100644 --- a/clang/test/Modules/Inputs/codegen/foo.h +++ b/clang/test/Modules/Inputs/codegen/foo.h @@ -1,10 +1,4 @@ -void f1(int &); -static void f2() {} -inline void foo() { - static int i; - f1(i); - f2(); +inline void f1(const char* fmt, ...) { + __builtin_va_list args; + __builtin_va_start(args, fmt); } -inline void foo2() { -} -void foo_ext() {} diff --git a/clang/test/Modules/Inputs/codegen/use.cpp b/clang/test/Modules/Inputs/codegen/use.cpp deleted file mode 100644 index b55a31fe158..00000000000 --- a/clang/test/Modules/Inputs/codegen/use.cpp +++ /dev/null @@ -1,2 +0,0 @@ -#include "bar.h" -int main() { bar(); } |