forked from OSchip/llvm-project
Replace a use of std::for_each() with llvm::for_each(); NFC.
llvm-svn: 317359
This commit is contained in:
parent
1a9593b251
commit
72f6563bb3
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue