[PATCH] D102730: [clang-format] Support custom If macros

Vitali Lovich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 20 14:50:23 PDT 2021


vlovich updated this revision to Diff 346863.
vlovich added a comment.

Review response:

- Added additional tests.
- Added `KJ_IF_MAYBE` to default `IfMacros`.
- Added links to KJ documentation.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102730/new/

https://reviews.llvm.org/D102730

Files:
  clang/docs/ClangFormatStyleOptions.rst
  clang/include/clang/Format/Format.h
  clang/lib/Format/Format.cpp
  clang/lib/Format/FormatToken.h
  clang/lib/Format/FormatTokenLexer.cpp
  clang/lib/Format/TokenAnnotator.cpp
  clang/unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102730.346863.patch
Type: text/x-patch
Size: 7344 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210520/cec00aa4/attachment-0001.bin>


More information about the cfe-commits mailing list