diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-07-13 21:08:08 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-07-13 21:08:08 +0000 |
commit | 66ed89d07ffd6d5c372e4bb566216da30844a796 (patch) | |
tree | 8ff080a8cdeb96adc0b7290c567a6288f38c5c28 /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | ab277d64003cdc42ae74b1ff5bca9d869ec55a33 (diff) | |
download | bcm5719-llvm-66ed89d07ffd6d5c372e4bb566216da30844a796.tar.gz bcm5719-llvm-66ed89d07ffd6d5c372e4bb566216da30844a796.zip |
Correctly classify pack expansions as NON_CANONICAL_UNLESS_DEPENDENT
Test coverage for non-dependent pack expansions doesn't demonstrate a
failure prior to this patch (a follow-up commit improving debug info
will cover this commit specifically) but covers a related hole in our
test coverage.
Reviewed by Richard Smith & Eli Friedman.
llvm-svn: 186261
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index e5fb06a7437..11149f47929 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -2097,6 +2097,7 @@ llvm::DIType CGDebugInfo::CreateTypeNode(QualType Ty, llvm::DIFile Unit, case Type::TypeOf: case Type::Decltype: case Type::UnaryTransform: + case Type::PackExpansion: llvm_unreachable("type should have been unwrapped!"); case Type::Auto: Diag = "auto"; |