mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Add support to describe template parameter type in debug info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124752 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -221,6 +221,12 @@ bool DIDescriptor::isScope() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
/// isTemplateTypeParameter - Return true if the specified tag is
|
||||
/// DW_TAG_template_type_parameter.
|
||||
bool DIDescriptor::isTemplateTypeParameter() const {
|
||||
return DbgNode && getTag() == dwarf::DW_TAG_template_type_parameter;
|
||||
}
|
||||
|
||||
/// isCompileUnit - Return true if the specified tag is DW_TAG_compile_unit.
|
||||
bool DIDescriptor::isCompileUnit() const {
|
||||
return DbgNode && getTag() == dwarf::DW_TAG_compile_unit;
|
||||
|
||||
Reference in New Issue
Block a user