[PATCH] D142804: [clang-format] Support clang-format on/off line comments as prefixes
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 28 23:07:06 PST 2023
owenpan updated this revision to Diff 493069.
owenpan added a comment.
Only allows `:` as the first character after `// clang-format on` or `// clang-format off`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142804/new/
https://reviews.llvm.org/D142804
Files:
clang/docs/ClangFormatStyleOptions.rst
clang/include/clang/Format/Format.h
clang/lib/Format/Format.cpp
clang/lib/Format/FormatTokenLexer.cpp
clang/lib/Format/IntegerLiteralSeparatorFixer.cpp
clang/lib/Format/SortJavaScriptImports.cpp
clang/unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142804.493069.patch
Type: text/x-patch
Size: 6969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230129/a9c947f8/attachment.bin>
More information about the cfe-commits
mailing list