[LLVMbugs] [Bug 7349] New: -P flag strips all whitespace from preprocessed output
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jun 10 13:37:55 PDT 2010
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: unassignedclangbugs at nondot.org
ReportedBy: evan at chromium.org
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
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.
More information about the llvm-bugs
mailing list