================
@@ -105,6 +105,16 @@ using BoundNodesMap = 
::clang::ast_matchers::internal::BoundNodesMap;
 // Matches the plain `id` type.
 AST_MATCHER(QualType, isObjCIdType) { return Node->isObjCIdType(); }
 
+// Like equalsBoundNode, but compares canonical declarations so that different
+// redeclarations of the same class (e.g. a forward declaration and the
+// definition) are treated as the same declaration.
+AST_MATCHER_P(Decl, isSameDeclAsBoundNode, std::string, ID) {
----------------
rniwa wrote:

Renamed.

https://github.com/llvm/llvm-project/pull/231833
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to