[clang] Fix crash with align_value diagnostic reporting (PR #135013)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 9 07:36:50 PDT 2025
================
@@ -4383,7 +4383,6 @@ static void handleAlignValueAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
}
void Sema::AddAlignValueAttr(Decl *D, const AttributeCommonInfo &CI, Expr *E) {
- AlignValueAttr TmpAttr(Context, CI, E);
----------------
erichkeane wrote:
I think that is acceptable. This one sort of reproduces because of 'luck' as well.
https://github.com/llvm/llvm-project/pull/135013
More information about the cfe-commits
mailing list