[PATCH] D140956: [clang-format] Add an option for breaking after C++11 attributes
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 4 20:48:36 PST 2023
owenpan updated this revision to Diff 486445.
owenpan retitled this revision from "[clang-format] Add an option for breaking after C++ attributes" to "[clang-format] Add an option for breaking after C++11 attributes".
owenpan edited the summary of this revision.
owenpan added a comment.
- Delete the unused `StartsCppAttribute`.
- Strengthen test cases by covering nested C++11 attributes.
- Update documentation to make it clear that this option only applies to C++11 attributes.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140956/new/
https://reviews.llvm.org/D140956
Files:
clang/docs/ClangFormatStyleOptions.rst
clang/docs/ReleaseNotes.rst
clang/include/clang/Format/Format.h
clang/lib/Format/ContinuationIndenter.cpp
clang/lib/Format/Format.cpp
clang/lib/Format/FormatToken.h
clang/lib/Format/TokenAnnotator.cpp
clang/lib/Format/TokenAnnotator.h
clang/unittests/Format/ConfigParseTest.cpp
clang/unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140956.486445.patch
Type: text/x-patch
Size: 13925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230105/d5af1e91/attachment.bin>
More information about the cfe-commits
mailing list