On Sun, May 22, 2011 at 7:53 PM, Chris Lattner <[email protected]> wrote: > > On May 22, 2011, at 4:51 PM, Francois Pichet wrote: > >>> +// PR9861: Verify that line markers are not messed up in -E mode. >>> +// CHECK: # 1 "{{.*}}pragma_sysheader.h" 1 >>> +// CHECK-NEXT: # 1 "{{.*}}pragma_sysheader.h" 3 >>> +// CHECK-NEXT: typedef int x; >>> +// CHECK-NEXT: typedef int x; >>> +// CHECK-NEXT: # 5 "{{.*}}pragma_sysheader.c" 2 >>> >> This fail on Windows: >> >> 1> Command 2 Stderr: >> 1> >> C:\dev\llvm\llvm_trunk\tools\clang\test\Preprocessor\pragma_sysheader.c:8:11: >> error: expected string not found in input >> 1> // CHECK: # 1 "{{.*}}pragma_sysheader.h" 1 >> 1> ^ >> 1> <stdin>:1:1: note: scanning from here >> 1> #line 1 >> "C:\\dev\\llvm\\llvm_trunk\\tools\\clang\\test\\Preprocessor\\pragma_sysheader.c" >> 1> ^ >> 1> <stdin>:12:61: note: possible intended match here >> 1> #line 1 >> "C:\\dev\\llvm\\llvm_trunk\\tools\\clang\\test\\Preprocessor/pragma_sysheader.h" >> >> any idea? > > We're apparently generating #line directives on windows. Does r131882 fix > this?
yes thanks. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
