[PATCH] Preprocessor: preserve whitespace in -traditional-cpp mode.

Dmitri Gribenko gribozavr at gmail.com
Tue Feb 12 15:30:40 PST 2013



================
Comment at: test/Preprocessor/traditional-cpp.c:16-17
@@ +15,4 @@
+/* The following lines contain tab characters; do not change them! */
+/* CHECK:	{{i}}ndented!
+ * CHECK: {{tab}}	{{separated}}	{{values}}
+ */
----------------
Richard Smith wrote:
> What are the {{ }} for here? Is this some oddity of -strict-whitespace?
It might have been cleaner to use the {{^}}...{{$}} pattern for this test.


http://llvm-reviews.chandlerc.com/D399



More information about the cfe-commits mailing list