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

Vitali Lovich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 21 16:26:24 PDT 2021


vlovich updated this revision to Diff 347150.
vlovich marked 3 inline comments as done.
vlovich added a comment.

Review response. Updated the options I changed via the dump_format_style.py script but didn't ingest all the other changes it generated.
Changed the SBPO option to have a more generic name that also applies to IF macros.
Fix typo in release notes.


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

https://reviews.llvm.org/D102730

Files:
  clang/docs/ClangFormatStyleOptions.rst
  clang/docs/ReleaseNotes.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.347150.patch
Type: text/x-patch
Size: 13069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210521/ce58d3d9/attachment-0001.bin>


More information about the cfe-commits mailing list