CodeQL library for C/C++
codeql/cpp-all 2.1.1 (changelog, source)
Search

Member predicate Instruction::getResultLanguageType

Gets the language-specific type of the result produced by this instruction.

Most consumers of the IR should use getResultIRType() instead. getResultIRType() uses a less complex, language-neutral type system in which all semantically equivalent types share the same IRType instance. For example, in C++, four different Instructions might have three different values for getResultLanguageType(): unsigned int, char32_t, and wchar_t, whereas all four instructions would have the same value for getResultIRType(), uint4.

LanguageType getResultLanguageType()