aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-08-25 13:14:46 +0000
committerAnders Carlsson <andersca@mac.com>2009-08-25 13:14:46 +0000
commit293361afd4199c92aabff9267fddea890943c586 (patch)
tree21d5be2623a23d0f2c24bc66e16be6e38644c5d8 /lib/CodeGen/CodeGenModule.cpp
parent8644aecd4383ce829d1eed81e96399904a948362 (diff)
Emit conversion functions correctly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79985 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--lib/CodeGen/CodeGenModule.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp
index a92e6d9251..24b07ca3f4 100644
--- a/lib/CodeGen/CodeGenModule.cpp
+++ b/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