[cfe-commits] r84255 - /cfe/trunk/lib/CodeGen/CGDecl.cpp
Nuno Lopes
nunoplopes at sapo.pt
Fri Oct 16 07:40:52 PDT 2009
Author: nlopes
Date: Fri Oct 16 09:40:52 2009
New Revision: 84255
URL: http://llvm.org/viewvc/llvm-project?rev=84255&view=rev
Log:
ignore 'using' directive in CodeGenFunction::EmitDecl(). this fixes PR5085
Modified:
cfe/trunk/lib/CodeGen/CGDecl.cpp
Modified: cfe/trunk/lib/CodeGen/CGDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDecl.cpp?rev=84255&r1=84254&r2=84255&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDecl.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDecl.cpp Fri Oct 16 09:40:52 2009
@@ -37,6 +37,7 @@
case Decl::Enum: // enum X;
case Decl::EnumConstant: // enum ? { X = ? }
case Decl::CXXRecord: // struct/union/class X; [C++]
+ case Decl::UsingDirective: // using X; [C++]
// None of these decls require codegen support.
return;
More information about the cfe-commits
mailing list