================
@@ -2800,6 +2801,15 @@ void CodeGenModule::ConstructAttributeList(StringRef 
Name,
             .getAsAlign();
     Attrs.addAlignmentAttr(Alignment);
 
+    if (isa_and_nonnull<CXXDestructorDecl>(
----------------
rnk wrote:

Code golf: You can CSE the CalleeInfo.getCalleeDecl().getDecl() if you use 
dyn_cast_or_nonnull.

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

Reply via email to