commit | 337531f203e9bc1810f6d00d0541a5aaf41ac16b | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Tue Aug 25 13:14:46 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Tue Aug 25 13:14:46 2009 +0000 |
tree | 21d5be2623a23d0f2c24bc66e16be6e38644c5d8 | |
parent | 3e03d83be64d564e767a996e2cd795f62b15bc5c [diff] [blame] |
Emit conversion functions correctly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79985 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index a92e6d9..24b07ca 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp
@@ -1634,6 +1634,7 @@ return; switch (D->getKind()) { + case Decl::CXXConversion: case Decl::CXXMethod: case Decl::Function: // Skip function templates