From e5feb516246e7c76b5b44667f3705d0e79c4fe95 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 2 Sep 2009 23:49:23 +0000 Subject: [PATCH] Don't try to CodeGen using directives, from Anders Johnsen llvm-svn: 80853 --- clang/lib/CodeGen/CodeGenModule.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 428d8cc760d1..802df06b2597 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -1653,6 +1653,7 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) { break; // No code generation needed. case Decl::Using: + case Decl::UsingDirective: case Decl::ClassTemplate: case Decl::FunctionTemplate: break;