[all-commits] [llvm/llvm-project] 924f6c: [clang-format] Remove duplicates in @property usin...
Owen Pan via All-commits
all-commits at lists.llvm.org
Mon Dec 4 16:33:34 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 924f6ca1bdc49efe776d7f5cfd43d421b65346ba
https://github.com/llvm/llvm-project/commit/924f6ca1bdc49efe776d7f5cfd43d421b65346ba
Author: Owen Pan <owenpiano at gmail.com>
Date: 2023-12-04 (Mon, 04 Dec 2023)
Changed paths:
M clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp
M clang/lib/Format/ObjCPropertyAttributeOrderFixer.h
M clang/unittests/Format/ObjCPropertyAttributeOrderFixerTest.cpp
Log Message:
-----------
[clang-format] Remove duplicates in @property using std::set (#74235)
Re-implement ObjCPropertyAttributeOrder using std::set for sorting and
removing duplicates. (We can't use llvm::SmallSet because it's
unordered.)
More information about the All-commits
mailing list