diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-03-09 17:21:42 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-03-09 17:21:42 +0000 |
| commit | 35dcda792241569a65db70e555b6dd50c332898b (patch) | |
| tree | c137163265cbefe585ddbdda6a3fd6a644f212a0 /clang/test/PCH/chain-cxx.cpp | |
| parent | 709b108ae117092d7d6a2c4abcd8f65918db81e3 (diff) | |
| download | bcm5719-llvm-35dcda792241569a65db70e555b6dd50c332898b.tar.gz bcm5719-llvm-35dcda792241569a65db70e555b6dd50c332898b.zip | |
Introduce '-chain-include' option to specify headers that will be converted to chained PCHs in memory
without having to use multiple runs and intermediate files.
Intended for testing & debugging of chained PCH.
llvm-svn: 127339
Diffstat (limited to 'clang/test/PCH/chain-cxx.cpp')
| -rw-r--r-- | clang/test/PCH/chain-cxx.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/test/PCH/chain-cxx.cpp b/clang/test/PCH/chain-cxx.cpp index bf37acb298e..107ddfee1c0 100644 --- a/clang/test/PCH/chain-cxx.cpp +++ b/clang/test/PCH/chain-cxx.cpp @@ -4,9 +4,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify -include %s -include %s %s // With PCH -// RUN: %clang_cc1 -x c++-header -emit-pch -o %t1 %s -// RUN: %clang_cc1 -x c++-header -emit-pch -o %t2 %s -include-pch %t1 -chained-pch -// RUN: %clang_cc1 -fsyntax-only -verify -include-pch %t2 %s +// RUN: %clang_cc1 -fsyntax-only -verify %s -chain-include %s -chain-include %s #ifndef HEADER1 #define HEADER1 |

