[all-commits] [llvm/llvm-project] c45a66: [clang-format] ObjCPropertyAttributeOrder to sort ...
Owen Pan via All-commits
all-commits at lists.llvm.org
Fri Dec 1 17:41:56 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c45a66ecd4cb8f351298ca987d6086cf02b77bfb
https://github.com/llvm/llvm-project/commit/c45a66ecd4cb8f351298ca987d6086cf02b77bfb
Author: Jared Grubb <jgrubb at apple.com>
Date: 2023-12-01 (Fri, 01 Dec 2023)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/CMakeLists.txt
M clang/lib/Format/Format.cpp
A clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp
A clang/lib/Format/ObjCPropertyAttributeOrderFixer.h
M clang/unittests/Format/CMakeLists.txt
A clang/unittests/Format/ObjCPropertyAttributeOrderFixerTest.cpp
Log Message:
-----------
[clang-format] ObjCPropertyAttributeOrder to sort ObjC property attributes
Add a style option to specify the order that property attributes should
appear in ObjC property declarations (property attributes are things like
`nonatomic, strong, nullable`).
Closes #71323.
Differential Revision: https://reviews.llvm.org/D150083
More information about the All-commits
mailing list