diff options
| author | Francois Pichet <pichet2000@gmail.com> | 2011-09-01 16:38:08 +0000 |
|---|---|---|
| committer | Francois Pichet <pichet2000@gmail.com> | 2011-09-01 16:38:08 +0000 |
| commit | 0274487d97fa4daa8478b05dbc2e5fed9ce00493 (patch) | |
| tree | d97d234b30c9732c258e7e5d8d7c6e141e5faee1 /clang/test/Index/preamble_macro_template.cpp | |
| parent | 5f344fff089dd7685bd0013ef6f03b318819b334 (diff) | |
| download | bcm5719-llvm-0274487d97fa4daa8478b05dbc2e5fed9ce00493.tar.gz bcm5719-llvm-0274487d97fa4daa8478b05dbc2e5fed9ce00493.zip | |
Enable -fdelayed-template-parsing by default on Win32.
I had to force -fno-delayed-template-parsing on some Index tests because delayed template parsing will change the output of some tests.
llvm-svn: 138942
Diffstat (limited to 'clang/test/Index/preamble_macro_template.cpp')
| -rw-r--r-- | clang/test/Index/preamble_macro_template.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Index/preamble_macro_template.cpp b/clang/test/Index/preamble_macro_template.cpp index dc98927101f..1da297ee9a5 100644 --- a/clang/test/Index/preamble_macro_template.cpp +++ b/clang/test/Index/preamble_macro_template.cpp @@ -2,8 +2,8 @@ template void foo(int *); int main() { } -// RUN: c-index-test -write-pch %t.pch -x c++-header %S/Inputs/preamble_macro_template.h -// RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 5 local -I %S/Inputs -include %t %s | FileCheck %s +// RUN: c-index-test -write-pch %t.pch -fno-delayed-template-parsing -x c++-header %S/Inputs/preamble_macro_template.h +// RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 5 local -fno-delayed-template-parsing -I %S/Inputs -include %t %s | FileCheck %s // CHECK: preamble_macro_template.h:4:6: FunctionDecl=foo:4:6 (Definition) [Specialization of foo:4:6] Extent=[4:1 - 6:2] // CHECK: preamble_macro_template.h:4:13: ParmDecl=p:4:13 (Definition) Extent=[4:10 - 4:14] // CHECK: preamble_macro_template.h:4:16: UnexposedStmt= Extent=[4:16 - 6:2] |

