diff options
author | Anders Carlsson <andersca@mac.com> | 2009-08-25 13:14:46 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-08-25 13:14:46 +0000 |
commit | 6c0a6e490c5f08bca231b601c4a4d14bd7385e52 (patch) | |
tree | 744ef012bf5c6bbd1a57043177093e4158d31bae /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 10ebe78730e6620060ccc05e9fefaecd671d7693 (diff) | |
download | bcm5719-llvm-6c0a6e490c5f08bca231b601c4a4d14bd7385e52.tar.gz bcm5719-llvm-6c0a6e490c5f08bca231b601c4a4d14bd7385e52.zip |
Emit conversion functions correctly.
llvm-svn: 79985
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index a92e6d92519..24b07ca3f43 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 |