================ @@ -272,6 +273,26 @@ QualType ObjCMessageExpr::getCallReturnType(ASTContext &Ctx) const { return Ctx.getReferenceQualifiedType(this); } +std::pair<const NamedDecl *, const Attr *> ---------------- halbi2 wrote:
It is this way in CallExpr::getUnusedResultAttr too. I would change it in both places? Maybe is this way so that different Attrs can be supported in the future, not just WarnUnusedResultAttrs. https://github.com/llvm/llvm-project/pull/142541 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits