[cfe-commits] r89079 - /cfe/trunk/lib/CodeGen/CodeGenModule.cpp

John McCall rjmccall at apple.com
Tue Nov 17 01:33:41 PST 2009


Author: rjmccall
Date: Tue Nov 17 03:33:40 2009
New Revision: 89079

URL: http://llvm.org/viewvc/llvm-project?rev=89079&view=rev
Log:
Skip over shadow using decls during codegen.


Modified:
    cfe/trunk/lib/CodeGen/CodeGenModule.cpp

Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenModule.cpp?rev=89079&r1=89078&r2=89079&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenModule.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenModule.cpp Tue Nov 17 03:33:40 2009
@@ -1716,6 +1716,7 @@
     EmitNamespace(cast<NamespaceDecl>(D));
     break;
     // No code generation needed.
+  case Decl::UsingShadow:
   case Decl::Using:
   case Decl::UsingDirective:
   case Decl::ClassTemplate:





More information about the cfe-commits mailing list