aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2025-02-03 09:07:40 +0000
committerGitHub <noreply@github.com>2025-02-03 09:07:40 +0000
commitf99e6df1415fa825b8329b381a23cd9c58d6edd4 (patch)
treebe793cba004ea90fbec0e85cae7037a47fbc79ef /clang/lib/CodeGen/CodeGenModule.cpp
parentb84f7d17f84030092880857544e13d26a2507c62 (diff)
downloadllvm-f99e6df1415fa825b8329b381a23cd9c58d6edd4.zip
llvm-f99e6df1415fa825b8329b381a23cd9c58d6edd4.tar.gz
llvm-f99e6df1415fa825b8329b381a23cd9c58d6edd4.tar.bz2
[lldb][TypeSystemClang] Pass around enum value as uint64_t (#125244)
The `DWARFASTParserClang` reads enum values as `int64_t`s regardless of the enumerators signedness. Then we pass it to `AddEnumerationValueToEnumerationType` and only then do we create an `APSInt` from it. However, there are other places where we read/pass around the enum value as unsigned. This patch makes sure we consistently use the same integer type for the enum value and let `APSInt` take care of signedness. This shouldn't have any observable effect.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions