diff options
Diffstat (limited to 'clang/lib/Edit')
-rw-r--r-- | clang/lib/Edit/EditedSource.cpp | 2 | ||||
-rw-r--r-- | clang/lib/Edit/RewriteObjCFoundationAPI.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/Edit/EditedSource.cpp b/clang/lib/Edit/EditedSource.cpp index 8fa2ee57d2c..6cf6335da18 100644 --- a/clang/lib/Edit/EditedSource.cpp +++ b/clang/lib/Edit/EditedSource.cpp @@ -158,7 +158,7 @@ void EditedSource::commitRemove(SourceLocation OrigLoc, } FileOffset TopBegin, TopEnd; - FileEdit *TopFA = 0; + FileEdit *TopFA = nullptr; if (I == FileEdits.end()) { FileEditsTy::iterator diff --git a/clang/lib/Edit/RewriteObjCFoundationAPI.cpp b/clang/lib/Edit/RewriteObjCFoundationAPI.cpp index 879c17aaabf..666844c65ff 100644 --- a/clang/lib/Edit/RewriteObjCFoundationAPI.cpp +++ b/clang/lib/Edit/RewriteObjCFoundationAPI.cpp @@ -58,7 +58,7 @@ static bool checkForLiteralCreation(const ObjCMessageExpr *Msg, bool edit::rewriteObjCRedundantCallWithLiteral(const ObjCMessageExpr *Msg, const NSAPI &NS, Commit &commit) { - IdentifierInfo *II = 0; + IdentifierInfo *II = nullptr; if (!checkForLiteralCreation(Msg, II, NS.getASTContext().getLangOpts())) return false; if (Msg->getNumArgs() != 1) @@ -339,7 +339,7 @@ static bool rewriteToStringBoxedExpression(const ObjCMessageExpr *Msg, bool edit::rewriteToObjCLiteralSyntax(const ObjCMessageExpr *Msg, const NSAPI &NS, Commit &commit, const ParentMap *PMap) { - IdentifierInfo *II = 0; + IdentifierInfo *II = nullptr; if (!checkForLiteralCreation(Msg, II, NS.getASTContext().getLangOpts())) return false; @@ -447,7 +447,7 @@ static bool getNSArrayObjects(const Expr *E, const NSAPI &NS, return false; if (const ObjCMessageExpr *Msg = dyn_cast<ObjCMessageExpr>(E)) { - IdentifierInfo *Cls = 0; + IdentifierInfo *Cls = nullptr; if (!checkForLiteralCreation(Msg, Cls, NS.getASTContext().getLangOpts())) return false; @@ -606,7 +606,7 @@ static bool shouldNotRewriteImmediateMessageArgs(const ObjCMessageExpr *Msg, if (!Msg) return false; - IdentifierInfo *II = 0; + IdentifierInfo *II = nullptr; if (!checkForLiteralCreation(Msg, II, NS.getASTContext().getLangOpts())) return false; |