File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6116,8 +6116,8 @@ bool AsmParser::parseMSInlineAsm(
6116
6116
const char *AsmStart = ASMString.begin ();
6117
6117
const char *AsmEnd = ASMString.end ();
6118
6118
array_pod_sort (AsmStrRewrites.begin (), AsmStrRewrites.end (), rewritesSort);
6119
- for (auto it = AsmStrRewrites.begin (); it ! = AsmStrRewrites.end (); ++it ) {
6120
- const AsmRewrite &AR = *it ;
6119
+ for (auto I = AsmStrRewrites.begin (), E = AsmStrRewrites.end (); I != E; ++I ) {
6120
+ const AsmRewrite &AR = *I ;
6121
6121
// Check if this has already been covered by another rewrite...
6122
6122
if (AR.Done )
6123
6123
continue ;
@@ -6160,7 +6160,7 @@ bool AsmParser::parseMSInlineAsm(
6160
6160
SMLoc OffsetLoc = SMLoc::getFromPointer (AR.IntelExp .OffsetName .data ());
6161
6161
size_t OffsetLen = OffsetName.size ();
6162
6162
auto rewrite_it = std::find_if (
6163
- it , AsmStrRewrites.end (), [&](const AsmRewrite &FusingAR) {
6163
+ I , AsmStrRewrites.end (), [&](const AsmRewrite &FusingAR) {
6164
6164
return FusingAR.Loc == OffsetLoc && FusingAR.Len == OffsetLen &&
6165
6165
(FusingAR.Kind == AOK_Input ||
6166
6166
FusingAR.Kind == AOK_CallInput);
Original file line number Diff line number Diff line change @@ -7474,8 +7474,8 @@ bool MasmParser::parseMSInlineAsm(
7474
7474
const char *AsmStart = ASMString.begin ();
7475
7475
const char *AsmEnd = ASMString.end ();
7476
7476
array_pod_sort (AsmStrRewrites.begin (), AsmStrRewrites.end (), rewritesSort);
7477
- for (auto it = AsmStrRewrites.begin (); it ! = AsmStrRewrites.end (); ++it ) {
7478
- const AsmRewrite &AR = *it ;
7477
+ for (auto I = AsmStrRewrites.begin (), E = AsmStrRewrites.end (); I != E; ++I ) {
7478
+ const AsmRewrite &AR = *I ;
7479
7479
// Check if this has already been covered by another rewrite...
7480
7480
if (AR.Done )
7481
7481
continue ;
@@ -7518,7 +7518,7 @@ bool MasmParser::parseMSInlineAsm(
7518
7518
SMLoc OffsetLoc = SMLoc::getFromPointer (AR.IntelExp .OffsetName .data ());
7519
7519
size_t OffsetLen = OffsetName.size ();
7520
7520
auto rewrite_it = std::find_if (
7521
- it , AsmStrRewrites.end (), [&](const AsmRewrite &FusingAR) {
7521
+ I , AsmStrRewrites.end (), [&](const AsmRewrite &FusingAR) {
7522
7522
return FusingAR.Loc == OffsetLoc && FusingAR.Len == OffsetLen &&
7523
7523
(FusingAR.Kind == AOK_Input ||
7524
7524
FusingAR.Kind == AOK_CallInput);
You can’t perform that action at this time.
0 commit comments