<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Yes indeed, I agree. Will make the change.</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> aemerson@apple.com <aemerson@apple.com> on behalf of Amara Emerson <aemerson@apple.com><br>
<b>Sent:</b> 08 October 2017 20:32:18<br>
<b>To:</b> Javed Absar<br>
<b>Cc:</b> llvm-commits@lists.llvm.org<br>
<b>Subject:</b> Re: [llvm] r315183 - [TableGen] Simplify, add range_loop in CodeGenSchedule</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText"><br>
> @@ -830,16 +830,16 @@ void CodeGenSchedModels::collectProcItin<br>
> void CodeGenSchedModels::collectProcItinRW() {<br>
>   RecVec ItinRWDefs = Records.getAllDerivedDefinitions("ItinRW");<br>
>   std::sort(ItinRWDefs.begin(), ItinRWDefs.end(), LessRecord());<br>
> -  for (RecIter II = ItinRWDefs.begin(), IE = ItinRWDefs.end(); II != IE; ++II) {<br>
> -    if (!(*II)->getValueInit("SchedModel")->isComplete())<br>
> -      PrintFatalError((*II)->getLoc(), "SchedModel is undefined");<br>
> -    Record *ModelDef = (*II)->getValueAsDef("SchedModel");<br>
> +  for (Record *RWDef  : make_range(ItinRWDefs.begin(), ItinRWDefs.end())) {<br>
You don’t need a make_range here.<br>
<br>
</div>
</span></font>IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use
 it for any purpose, or store or copy the information in any medium. Thank you.
</body>
</html>