llvm-project
014d2b9d - [lldb][TypeSystem] Call Type::isIntegralType from TypeSystemClang::IsIntegerType (#175669)

Commit
13 days ago
[lldb][TypeSystem] Call Type::isIntegralType from TypeSystemClang::IsIntegerType (#175669) Instead of re-implementing `Type::isIntegralType`, call it explicitly. This means we get support for `BitIntType` out-of-the-box. We don't use `IsIntegerType` here because we want to abide by the language-specific notions of an integer type (which differ between C++ and C). The slight behaviour change here is that `IsIntegerType` will now treat complete enumerations as integers in C. This is correct according to the C standard.
Author
Parents
Loading