diff options
author | Mark de Wever <koraq@xs4all.nl> | 2020-08-16 18:40:08 +0200 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2020-08-16 18:40:08 +0200 |
commit | fef26071240711e8f7305715b5f22cfc7ad04bfe (patch) | |
tree | 193c6cd83d1aca0543df43ee33b2e6972d42755a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 827ba67e383313b05e9b10c8215e501530d6c9e3 (diff) | |
download | llvm-fef26071240711e8f7305715b5f22cfc7ad04bfe.zip llvm-fef26071240711e8f7305715b5f22cfc7ad04bfe.tar.gz llvm-fef26071240711e8f7305715b5f22cfc7ad04bfe.tar.bz2 |
[Sema] Use the proper cast for a fixed bool enum.
When casting an enumerate with a fixed bool type the casting should use
an IntegralToBoolean instead of an IntegralCast as is required per Core
Issue 2338.
Fixes PR47055: Incorrect codegen for enum with bool underlying type
Differential Revision: https://reviews.llvm.org/D85612
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions