[cfe-commits] Patch to make clang compile and work on Windows using MSVC8

Hartmut Kaiser hartmut.kaiser at gmail.com
Mon Sep 3 12:22:56 PDT 2007


Chris, 

> Thanks!  I applied this.  There are some diffs in the 
> testsuite that I didn't understand and didn't apply.  Do you 
> know what these are?
> 
> --- test/Lexer/escape_newline.c (revision 41682)
> +++ test/Lexer/escape_newline.c (working copy)
> @@ -3,5 +3,5 @@
> // RUN: clang -E %s 2>&1 | grep 'trigraph converted'
> // This is an ugly way to spell a -> token.
> - -??/
> + -??/
>  >
> 
> It looks like it might just be trailing whitespace removed.  
> Is this intentional or just something extraneous in the patch?

This was intentionally. AFAIK a backslash/newline should be recognized as a
line continuation only if there is no whitespace in between those.

Regards Hartmut





More information about the cfe-commits mailing list