[PATCH] D144149: [Serialization] Don't warn when a deserialized category is equivalent to an existing one.

Volodymyr Sapsai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 15 17:08:29 PST 2023


vsapsai added inline comments.


================
Comment at: clang/lib/Serialization/ASTReaderDecl.cpp:4188
+          llvm::DenseSet<std::pair<Decl *, Decl *>> NonEquivalentDecls;
+          StructuralEquivalenceContext Ctx(
+              Cat->getASTContext(), Existing->getASTContext(),
----------------
Decided to use StructuralEquivalenceContext here because we already use it to compare `ObjCCategoryDecl` in ASTReader.cpp.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144149



More information about the cfe-commits mailing list