================
@@ -2800,6 +2801,15 @@ void CodeGenModule::ConstructAttributeList(StringRef
Name,
.getAsAlign();
Attrs.addAlignmentAttr(Alignment);
+ if (isa_and_nonnull<CXXDestructorDecl>(
----------------
boomanaiden154 wrote:Done. Ended up using `dyn_cast_if_present`. https://github.com/llvm/llvm-project/pull/166276 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
