summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index f236d169bf5..dbae6e96992 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -1264,10 +1264,12 @@ CollectTemplateParams(const TemplateParameterList *TPList,
// We could support this with the GCC extension
// DW_TAG_GNU_template_template_param
break;
+ case TemplateArgument::Pack:
+ // And this with DW_TAG_GNU_template_parameter_pack
+ break;
// these next 4 should never occur
case TemplateArgument::Expression:
case TemplateArgument::TemplateExpansion:
- case TemplateArgument::Pack:
case TemplateArgument::Null:
llvm_unreachable(
"These argument types shouldn't exist in concrete types");
OpenPOWER on IntegriCloud