Replace a use of std::for_each() with llvm::for_each(); NFC.

llvm-svn: 317359
This commit is contained in:
Aaron Ballman 2017-11-03 20:09:17 +00:00
parent 1a9593b251
commit 72f6563bb3
1 changed files with 1 additions and 2 deletions

View File

@ -1442,8 +1442,7 @@ MSPropertyOpBuilder::getBaseMSProperty(MSPropertySubscriptExpr *E) {
Expr *MSPropertyOpBuilder::rebuildAndCaptureObject(Expr *syntacticBase) {
InstanceBase = capture(RefExpr->getBaseExpr());
std::for_each(CallArgs.begin(), CallArgs.end(),
[this](Expr *&Arg) { Arg = capture(Arg); });
llvm::for_each(CallArgs, [this](Expr *&Arg) { Arg = capture(Arg); });
syntacticBase = Rebuilder(S, [=](Expr *, unsigned Idx) -> Expr * {
switch (Idx) {
case 0: