aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Parse/Action.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-29 05:01:10 +0000
committerChris Lattner <sabre@nondot.org>2009-03-29 05:01:10 +0000
commit64540d71b4aaab07d93cb3593ce462d26a83d326 (patch)
tree43c271370ebba1fa7ed06edc86beae874bf41790 /include/clang/Parse/Action.h
parent0eda3b31a672ea486fa92b9bc49a2c91be856b53 (diff)
various cleanups
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67981 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Parse/Action.h')
-rw-r--r--include/clang/Parse/Action.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h
index f2f81e18d5..b7bb8d0afd 100644
--- a/include/clang/Parse/Action.h
+++ b/include/clang/Parse/Action.h
@@ -1025,7 +1025,7 @@ public:
bool Virtual, AccessSpecifier Access,
TypeTy *basetype,
SourceLocation BaseLoc) {
- return 0;
+ return BaseResult();
}
virtual void ActOnBaseSpecifiers(DeclPtrTy ClassDecl, BaseTy **Bases,
@@ -1440,7 +1440,7 @@ public:
SourceLocation selectorLoc,
SourceLocation rbrac,
ExprTy **ArgExprs, unsigned NumArgs) {
- return 0;
+ return ExprResult();
}
// ActOnInstanceMessage - used for both unary and keyword messages.
// ArgExprs is optional - if it is present, the number of expressions
@@ -1449,7 +1449,7 @@ public:
ExprTy *receiver, Selector Sel,
SourceLocation lbrac, SourceLocation selectorLoc, SourceLocation rbrac,
ExprTy **ArgExprs, unsigned NumArgs) {
- return 0;
+ return ExprResult();
}
virtual DeclPtrTy ActOnForwardClassDeclaration(
SourceLocation AtClassLoc,
@@ -1479,7 +1479,7 @@ public:
virtual ExprResult ParseObjCStringLiteral(SourceLocation *AtLocs,
ExprTy **Strings,
unsigned NumStrings) {
- return 0;
+ return ExprResult();
}
virtual ExprResult ParseObjCEncodeExpression(SourceLocation AtLoc,
@@ -1487,7 +1487,7 @@ public:
SourceLocation LParenLoc,
TypeTy *Ty,
SourceLocation RParenLoc) {
- return 0;
+ return ExprResult();
}
virtual ExprResult ParseObjCSelectorExpression(Selector Sel,
@@ -1495,7 +1495,7 @@ public:
SourceLocation SelLoc,
SourceLocation LParenLoc,
SourceLocation RParenLoc) {
- return 0;
+ return ExprResult();
}
virtual ExprResult ParseObjCProtocolExpression(IdentifierInfo *ProtocolId,
@@ -1503,7 +1503,7 @@ public:
SourceLocation ProtoLoc,
SourceLocation LParenLoc,
SourceLocation RParenLoc) {
- return 0;
+ return ExprResult();
}
//===---------------------------- Pragmas -------------------------------===//