return Lexer::getSourceText(
CharSourceRange::getTokenRange(E->getSourceRange()),
- *Result.SourceManager, Result.Context->getLangOpts(), 0);
+ *Result.SourceManager, Result.Context->getLangOpts(), nullptr);
}
// Returns the proper token based end location of \p E.
FunctionExpr->getBeginLoc());
StringRef SpaceBeforeStmtStr = Lexer::getSourceText(
CharSourceRange::getCharRange(SpaceRange), *Result.SourceManager,
- Result.Context->getLangOpts(), 0);
+ Result.Context->getLangOpts(), nullptr);
SmallString<128> NewAddNullTermExprStr;
NewAddNullTermExprStr =
if (!Style.isActive())
return llvm::None;
- return getFailureInfo("", MacroNameTok.getIdentifierInfo()->getName(), NULL,
- Loc, Style.getStyles(), Style.getHNOption(),
+ return getFailureInfo("", MacroNameTok.getIdentifierInfo()->getName(),
+ nullptr, Loc, Style.getStyles(), Style.getHNOption(),
SK_MacroDefinition, SM, IgnoreFailedSplit);
}