This revision was automatically updated to reflect the committed changes.
Closed by commit rL318960: [clang-format] Deduplicate using declarations
(authored by krasimir).
Repository:
rL LLVM
https://reviews.llvm.org/D40435
Files:
cfe/trunk/lib/Format/UsingDeclarationsSorter.cpp
cfe/trunk/
bkramer accepted this revision.
bkramer added a comment.
This revision is now accepted and ready to land.
lg
https://reviews.llvm.org/D40435
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c
krasimir updated this revision to Diff 124215.
krasimir added a comment.
- Address review comments
https://reviews.llvm.org/D40435
Files:
lib/Format/UsingDeclarationsSorter.cpp
unittests/Format/UsingDeclarationsSorterTest.cpp
Index: unittests/Format/UsingDeclarationsSorterTest.cpp
===
bkramer added inline comments.
Comment at: lib/Format/UsingDeclarationsSorter.cpp:115
+bool usingDeclarationsEqual(const UsingDeclaration &a,
+const UsingDeclaration &b) {
I'd use a lambda instead.
https://reviews.llvm.org/D40435