================
@@ -2152,29 +2152,44 @@ static void handleUnusedAttr(Sema &S, Decl *D, const
ParsedAttr &AL) {
D->addAttr(::new (S.Context) UnusedAttr(S.Context, AL));
}
+static std::optional<Expr *> sharedGetConstructorDestructorAttrExpr(Sema &S,
const ParsedAttr &AL) {
----------------
Sirraide wrote:
Ah, my bad, I missed that; in that case that’s fine but maybe add a comment
explaining that because I don’t think that’s immediately clear from looking at
the function signature (at least not to me)
https://github.com/llvm/llvm-project/pull/151400
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits