aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2016-12-19 10:09:25 +0000
committerDaniel Jasper <djasper@google.com>2016-12-19 10:09:25 +0000
commit9949ead55ad85698096af2fda29e8c6bb00a09b9 (patch)
treecb7551d743a7326e28591672cc19f3c5ff0a2004 /clang/lib/CodeGen/CGDecl.cpp
parent03b8be575e36f847387e314cfab75c2ae54e831f (diff)
downloadllvm-9949ead55ad85698096af2fda29e8c6bb00a09b9.zip
llvm-9949ead55ad85698096af2fda29e8c6bb00a09b9.tar.gz
llvm-9949ead55ad85698096af2fda29e8c6bb00a09b9.tar.bz2
Revert "[c++1z] P0195R2: Support pack-expansion of using-declarations."
This reverts commit r290080 as it leads to many Clang crashes, e.g.: http://lab.llvm.org:8011/builders/clang-cmake-aarch64-quick/builds/1814 llvm-svn: 290092
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
-rw-r--r--clang/lib/CodeGen/CGDecl.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp
index d761363..4657347 100644
--- a/clang/lib/CodeGen/CGDecl.cpp
+++ b/clang/lib/CodeGen/CGDecl.cpp
@@ -113,10 +113,6 @@ void CodeGenFunction::EmitDecl(const Decl &D) {
if (CGDebugInfo *DI = getDebugInfo())
DI->EmitUsingDecl(cast<UsingDecl>(D));
return;
- case Decl::UsingPack:
- for (auto *Using : cast<UsingPackDecl>(D).expansions())
- EmitDecl(*Using);
- return;
case Decl::UsingDirective: // using namespace X; [C++]
if (CGDebugInfo *DI = getDebugInfo())
DI->EmitUsingDirective(cast<UsingDirectiveDecl>(D));