diff options
author | Chris Lattner <sabre@nondot.org> | 2008-07-21 06:31:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-07-21 06:31:05 +0000 |
commit | 1565e0364b05d163640dd2b6feed43bae67df4fd (patch) | |
tree | 406901c49068b2a98d4368349590afafd31fefd3 /lib/Sema/SemaExprObjC.cpp | |
parent | 0b2f7ea2794bc9e8d2f8328d78d61f8ec55dd023 (diff) |
don't pass in null as the Name for GenerateClassStructure,
it goes and makes std::strings out of them, which is not
defined.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExprObjC.cpp')
-rw-r--r-- | lib/Sema/SemaExprObjC.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Sema/SemaExprObjC.cpp b/lib/Sema/SemaExprObjC.cpp index bed9d5d306..99a7afdc1a 100644 --- a/lib/Sema/SemaExprObjC.cpp +++ b/lib/Sema/SemaExprObjC.cpp @@ -217,8 +217,7 @@ Sema::ExprResult Sema::ActOnClassMessage( // ActOnInstanceMessage - used for both unary and keyword messages. // ArgExprs is optional - if it is present, the number of expressions // is obtained from Sel.getNumArgs(). -Sema::ExprResult Sema::ActOnInstanceMessage( - ExprTy *receiver, Selector Sel, +Sema::ExprResult Sema::ActOnInstanceMessage(ExprTy *receiver, Selector Sel, SourceLocation lbrac, SourceLocation rbrac, ExprTy **Args, unsigned NumArgs) { assert(receiver && "missing receiver expression"); |