[cfe-commits] r52162 - /cfe/trunk/lib/CodeGen/CGDecl.cpp

Argiris Kirtzidis akyrtzi at gmail.com
Mon Jun 9 16:42:47 PDT 2008


Author: akirtzidis
Date: Mon Jun  9 18:42:47 2008
New Revision: 52162

URL: http://llvm.org/viewvc/llvm-project?rev=52162&view=rev
Log:
Make CodeGenFunction::EmitDecl() recognise CXXClass/CXXStruct/CXXUnion.

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=52162&r1=52161&r2=52162&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGDecl.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDecl.cpp Mon Jun  9 18:42:47 2008
@@ -35,6 +35,9 @@
   case Decl::Union:     // union X;
   case Decl::Class:     // class X;
   case Decl::Enum:      // enum X;
+  case Decl::CXXStruct: // struct X; [C++]
+  case Decl::CXXUnion:  // union X; [C++]
+  case Decl::CXXClass:  // class X; [C++]
     // None of these decls require codegen support.
     return;
     





More information about the cfe-commits mailing list