http://llvm.org/bugs/show_bug.cgi?id=7349
Summary: -P flag strips all whitespace from preprocessed output
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Created an attachment (id=5009)
--> (http://llvm.org/bugs/attachment.cgi?id=5009)
sample showing the problem
clang -E -P -x c++ clang-bug.cc
$ gcc -E -P -x c++ clang-bug.cc | wc -l
6
$ clang -E -P -x c++ clang-bug.cc | wc -l
3
WebKit relies on the whitespace in the output (!) in a perl script.
WebKit seems a bit crazy to me here, but perhaps it's worth making clang match
gcc.
Revision: 105793
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs