[PATCH] D33440: clang-format: better handle statement macros
Francois Ferrand via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 5 08:48:57 PST 2018
Typz updated this revision to Diff 132837.
Typz added a comment.
Use StatementMacro detection to improve brace type detection heuristics (in UnwrappedLineParser::calculateBraceTypes).
https://reviews.llvm.org/D33440
Files:
include/clang/Format/Format.h
lib/Format/Format.cpp
lib/Format/FormatToken.h
lib/Format/FormatTokenLexer.cpp
lib/Format/FormatTokenLexer.h
lib/Format/UnwrappedLineParser.cpp
lib/Format/UnwrappedLineParser.h
unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33440.132837.patch
Type: text/x-patch
Size: 9285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180205/44a34870/attachment-0001.bin>
More information about the cfe-commits
mailing list