diff options
| author | David Blaikie <dblaikie@gmail.com> | 2013-05-10 22:53:25 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2013-05-10 22:53:25 +0000 |
| commit | 7e4c8b06424cc76caaa88f89f20cc88772844a5e (patch) | |
| tree | 3efb513e266d3abac09b9390608b36ca6cc93ff7 /clang/lib/CodeGen | |
| parent | 64a1fa5cdaab414c06ef8ca7bd851ade5a34dae6 (diff) | |
| download | bcm5719-llvm-7e4c8b06424cc76caaa88f89f20cc88772844a5e.tar.gz bcm5719-llvm-7e4c8b06424cc76caaa88f89f20cc88772844a5e.zip | |
Debug Info: Silently accept template argument packs
We could support the GCC extension DW_TAG_GNU_template_parameter_pack if
we're feeling adventurous, at some point - but I don't think GDB's doing
anything useful with it yet anyway.
llvm-svn: 181644
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 4 |
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"); |

