llvm::DWARFDie::getLanguage

Returns the DW_LANG_ code for this DIE's DWARF unit, if it exists.

Synopsis

Declared in <llvm/DebugInfo/DWARF/DWARFDie.h>

std::optional<uint64_t>
getLanguage() const;

Return Value

The DW_LANG_ code, or std::nullopt if it does not exist.