mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 19:25:00 +00:00
DebugInfo: Support (using GNU extensions) for template template parameters and parameter packs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184643 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -292,7 +292,9 @@ bool DIDescriptor::isTemplateTypeParameter() const {
|
||||
/// isTemplateValueParameter - Return true if the specified tag is
|
||||
/// DW_TAG_template_value_parameter.
|
||||
bool DIDescriptor::isTemplateValueParameter() const {
|
||||
return DbgNode && getTag() == dwarf::DW_TAG_template_value_parameter;
|
||||
return DbgNode && (getTag() == dwarf::DW_TAG_template_value_parameter ||
|
||||
getTag() == dwarf::DW_TAG_GNU_template_template_param ||
|
||||
getTag() == dwarf::DW_TAG_GNU_template_parameter_pack);
|
||||
}
|
||||
|
||||
/// isCompileUnit - Return true if the specified tag is DW_TAG_compile_unit.
|
||||
|
Reference in New Issue
Block a user