aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorZequan Wu <zequanwu@google.com>2022-07-20 16:08:25 -0700
committerZequan Wu <zequanwu@google.com>2022-07-21 11:23:21 -0700
commitd870a575631d2cedab2ff237af8edd17916edc64 (patch)
tree32e3cdc10e02f0daae46b10491683419e25b38c8 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentbb5dc2918f6010b0393a0b089166f668436f4275 (diff)
downloadllvm-d870a575631d2cedab2ff237af8edd17916edc64.zip
llvm-d870a575631d2cedab2ff237af8edd17916edc64.tar.gz
llvm-d870a575631d2cedab2ff237af8edd17916edc64.tar.bz2
[SemaCXX] Set promotion type for enum if its type is promotable to integer type even if it has no definition.
EnumDecl's promotion type is set either to the parsed type or calculated type after completing its definition. When it's bool type and has no definition, its promotion type is bool which is not allowed by clang. Fixes #56560. Differential Revision: https://reviews.llvm.org/D130210
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions