aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2020-08-16 18:40:08 +0200
committerMark de Wever <koraq@xs4all.nl>2020-08-16 18:40:08 +0200
commitfef26071240711e8f7305715b5f22cfc7ad04bfe (patch)
tree193c6cd83d1aca0543df43ee33b2e6972d42755a /clang/lib/Frontend/CompilerInvocation.cpp
parent827ba67e383313b05e9b10c8215e501530d6c9e3 (diff)
downloadllvm-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