[PATCH] D60543: [clang] Update isDerivedFrom to support Objective-C classes 🔍

Stephane Moore via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 8 18:31:22 PDT 2019


stephanemoore marked 3 inline comments as done.
stephanemoore added inline comments.


================
Comment at: clang/lib/ASTMatchers/ASTMatchFinder.cpp:820
+  llvm::DenseMap<const ObjCInterfaceDecl *,
+                 std::set<const ObjCCompatibleAliasDecl *>>
+      CompatibleAliases;
----------------
aaron.ballman wrote:
> gribozavr wrote:
> > `unordered_set`?
> or `SmallPtrSet`?
I went with `llvm::SmallPtrSet` as that seems more common in clang sources compared to `std::unordered_set`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60543/new/

https://reviews.llvm.org/D60543





More information about the cfe-commits mailing list