This change fixes a compiler crash that was introduced in https://reviews.llvm.org/D103611: Sema::BuildVAArgExpr attempted to retrieve a corresponding signed type for bool by calling ASTContext::getCorrespondingSignedType.
rdar://86580370
Differential D116272
[Clang][Sema] Avoid crashing for va_arg expressions with bool argument egorzhdan on Dec 24 2021, 1:20 PM. Authored by
Details This change fixes a compiler crash that was introduced in https://reviews.llvm.org/D103611: Sema::BuildVAArgExpr attempted to retrieve a corresponding signed type for bool by calling ASTContext::getCorrespondingSignedType. rdar://86580370
Diff Detail
Event TimelineComment Actions LGTM, thank you for the fix! I think this would also be a reasonable candidate for a 13.0.X release, in case you wanted to file an issue to backport it. I think 13.0.1 may be too late to hit though. CCing @tstellar just in case. Comment Actions We may have time to fit it in to the release, but no guarantees. Can you file an issue for this? Comment Actions That would be great. I filed an issue: https://github.com/llvm/llvm-project/issues/53078. |