summaryrefslogtreecommitdiffstats
path: root/clang/Sema/Sema.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Sema/Sema.h')
-rw-r--r--clang/Sema/Sema.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/clang/Sema/Sema.h b/clang/Sema/Sema.h
index a1026448867..4ed71f7388d 100644
--- a/clang/Sema/Sema.h
+++ b/clang/Sema/Sema.h
@@ -565,18 +565,20 @@ public:
// ActOnClassMessage - used for both unary and keyword messages.
// ArgExprs is optional - if it is present, the number of expressions
- // is obtained from Sel.getNumArgs().
+ // is obtained from NumArgs.
virtual ExprResult ActOnClassMessage(
Scope *S,
IdentifierInfo *receivingClassName, Selector Sel,
- SourceLocation lbrac, SourceLocation rbrac, ExprTy **ArgExprs);
+ SourceLocation lbrac, SourceLocation rbrac,
+ ExprTy **ArgExprs, unsigned NumArgs);
// ActOnInstanceMessage - used for both unary and keyword messages.
// ArgExprs is optional - if it is present, the number of expressions
- // is obtained from Sel.getNumArgs().
+ // is obtained from NumArgs.
virtual ExprResult ActOnInstanceMessage(
ExprTy *receiver, Selector Sel,
- SourceLocation lbrac, SourceLocation rbrac, ExprTy **ArgExprs);
+ SourceLocation lbrac, SourceLocation rbrac,
+ ExprTy **ArgExprs, unsigned NumArgs);
private:
// UsualUnaryConversions - promotes integers (C99 6.3.1.1p2) and converts
// functions and arrays to their respective pointers (C99 6.3.2.1).
OpenPOWER on IntegriCloud