From 6c0a6e490c5f08bca231b601c4a4d14bd7385e52 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Tue, 25 Aug 2009 13:14:46 +0000 Subject: Emit conversion functions correctly. llvm-svn: 79985 --- clang/lib/CodeGen/CodeGenModule.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/CodeGen/CodeGenModule.cpp') diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index a92e6d9..24b07ca 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -1634,6 +1634,7 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) { return; switch (D->getKind()) { + case Decl::CXXConversion: case Decl::CXXMethod: case Decl::Function: // Skip function templates -- cgit v1.1