summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2009-11-17 09:33:40 +0000
committerJohn McCall <rjmccall@apple.com>2009-11-17 09:33:40 +0000
commit1e9de059cc0a7dc8e6e23f4e5dcd9ea36ff24d07 (patch)
tree446e95b17f99ef3a12ffaaa59822aac053cdb814 /clang/lib/CodeGen/CodeGenModule.cpp
parent2c88b01bb6e128b991f7773ede078684739b95d0 (diff)
downloadbcm5719-llvm-1e9de059cc0a7dc8e6e23f4e5dcd9ea36ff24d07.tar.gz
bcm5719-llvm-1e9de059cc0a7dc8e6e23f4e5dcd9ea36ff24d07.zip
Skip over shadow using decls during codegen.
llvm-svn: 89079
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index e5712e138b7..0e6f4a63a42 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -1716,6 +1716,7 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) {
EmitNamespace(cast<NamespaceDecl>(D));
break;
// No code generation needed.
+ case Decl::UsingShadow:
case Decl::Using:
case Decl::UsingDirective:
case Decl::ClassTemplate:
OpenPOWER on IntegriCloud