diff options
author | Chris Lattner <sabre@nondot.org> | 2008-03-01 08:45:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-03-01 08:45:05 +0000 |
commit | 2b94fe35edf951a14ecd32b21f7ebcc2e3754c67 (patch) | |
tree | 03940ec1270cb024df1793b9dec75aa3dd938dce /CodeGen/CGExprConstant.cpp | |
parent | 72fc3b30d775a6b720dd0dd87aa853226f0625dd (diff) |
Add codegen support for ObjC message expressions with the GNU runtime.
Patch by David Chisnall!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CGExprConstant.cpp')
-rw-r--r-- | CodeGen/CGExprConstant.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CodeGen/CGExprConstant.cpp b/CodeGen/CGExprConstant.cpp index ec16b16a9d..30180c1774 100644 --- a/CodeGen/CGExprConstant.cpp +++ b/CodeGen/CGExprConstant.cpp @@ -200,6 +200,9 @@ public: // Make sure we have an array at this point assert(0 && "Unable to handle InitListExpr"); + // Get rid of control reaches end of void function warning. + // Not reached. + return 0; } llvm::Constant *VisitImplicitCastExpr(ImplicitCastExpr *ICExpr) { |