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 | 8efcc0184a6dfe1ea799d3a6b9c1312ef1fac11d (patch) | |
tree | 8f683006faaf176a18626fd107a99a08a5f8a75e /test/Index/preamble_macro_template.cpp | |
parent | ab784085b774169cac0850a7e3151be97beb8399 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138942 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/preamble_macro_template.cpp')
-rw-r--r-- | test/Index/preamble_macro_template.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Index/preamble_macro_template.cpp b/test/Index/preamble_macro_template.cpp index dc98927101..1da297ee9a 100644 --- a/test/Index/preamble_macro_template.cpp +++ b/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] |