No reason to create temporaries.
Details
Details
Diff Detail
Diff Detail
| Paths 
 |  Differential  D29871  
Use const-ref in range-loop for to avoid copying pairs of std::string ClosedPublic Authored by sergio.martins on Feb 12 2017, 4:11 AM. 
Details Summary No reason to create temporaries. 
Diff Detail Event TimelineThis revision is now accepted and ready to land.Feb 17 2017, 11:39 PM Comment Actions 
 yes, please commit thanks Closed by commit rL295807: Use const-ref in range-loop for to avoid copying pairs of std::string (authored by silvas).  ·  Explain WhyFeb 21 2017, 10:45 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 88120 lib/IR/Attributes.cpp
 lib/Transforms/Utils/CodeExtractor.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||