[PATCH] Add support for foreach macros to clang-format
Brian Green
briangreenery at gmail.com
Sun Mar 30 23:30:32 PDT 2014
I tried to go with the approach that djasper outlined: support a static list of macros parsed into an identifier table used for lookup.
I'm sorry for the delay in updating this.
http://llvm-reviews.chandlerc.com/D2919
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D2919?vs=7491&id=8223#toc
Files:
docs/ClangFormatStyleOptions.rst
include/clang/Format/Format.h
lib/Format/Format.cpp
lib/Format/FormatToken.h
lib/Format/TokenAnnotator.cpp
lib/Format/UnwrappedLineParser.cpp
lib/Format/UnwrappedLineParser.h
unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2919.3.patch
Type: text/x-patch
Size: 9116 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140330/6b1fb595/attachment.bin>
More information about the cfe-commits
mailing list