diff options
author | Egor Zhdan <e_zhdan@apple.com> | 2022-01-07 10:30:25 +0100 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2022-01-07 10:41:45 +0100 |
commit | c033f0d9b1c7816b0488a939475d48a100e4dcab (patch) | |
tree | 13681aa0f15dd348a4366fdd5a2d38bbbb9a4fe2 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 080f372ad36483b7d413e98c3bef5170bdb97631 (diff) | |
download | llvm-c033f0d9b1c7816b0488a939475d48a100e4dcab.zip llvm-c033f0d9b1c7816b0488a939475d48a100e4dcab.tar.gz llvm-c033f0d9b1c7816b0488a939475d48a100e4dcab.tar.bz2 |
[Clang][Sema] Avoid crashing for va_arg expressions with bool argument
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
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D116272
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions