[PATCH] D40435: [clang-format] Deduplicate using declarations

Benjamin Kramer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 24 06:15:43 PST 2017


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





More information about the cfe-commits mailing list