[llvm-commits] [llvm] r113603 - /llvm/trunk/lib/VMCore/AutoUpgrade.cpp

Bill Wendling isanbard at gmail.com
Fri Sep 10 13:43:45 PDT 2010


On Sep 10, 2010, at 1:27 PM, Chris Lattner wrote:

> On Sep 10, 2010, at 12:06 PM, Bill Wendling wrote:
> 
>> Author: void
>> Date: Fri Sep 10 14:06:58 2010
>> New Revision: 113603
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=113603&view=rev
>> Log:
>> Early exit with simple checks.
> 
> Hi Bill, please capture Name as a StringRef instead of std::string.
> 
> The early exit isn't needed, stringref does it for you in == with a constant string.
> 
Oh nice. Done!

-bw






More information about the llvm-commits mailing list