================
@@ -5444,6 +5444,43 @@ AST_MATCHER(FunctionDecl, isDefaulted) {
   return Node.isDefaulted();
 }
 
+/// Matches trivial methods and types.
----------------
higher-performance wrote:

Ah I see, yeah. I don't think we want to support that since the other matchers 
don't do that either (e.g., `isSameOrDerivedFrom`). That seems like a 
higher-level design change that should be made uniformly if it's desired.

https://github.com/llvm/llvm-project/pull/90634
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to