[PATCH] Don't remove backslashes from block comments.
Alexander Kornienko
alexfh at google.com
Fri Jun 14 04:24:50 PDT 2013
Hi klimek,
Don't remove backslashes from block comments. Previously this
/* \ \ \ \ \ \
*/
would be turned to this:
/*
*/
which spoils some kinds of ASCII-art, people use in their comments. The behavior
was related to handling escaped newlines in block comments inside preprocessor
directives. This patch makes handling it in a more civilized way.
http://llvm-reviews.chandlerc.com/D979
Files:
lib/Format/BreakableToken.cpp
lib/Format/BreakableToken.h
lib/Format/Format.cpp
unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D979.1.patch
Type: text/x-patch
Size: 15012 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130614/bd2daef2/attachment.bin>
More information about the cfe-commits
mailing list