[llvm] r289724 - Fix the bug in r289714 (NFC).

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 14:41:44 PST 2016


"Fix the bug" and "NFC" in the same commit seems impossible to me...

> On Dec 14, 2016, at 2:03 PM, Dehao Chen via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> Author: dehao
> Date: Wed Dec 14 16:03:08 2016
> New Revision: 289724
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=289724&view=rev
> Log:
> Fix the bug in r289714 (NFC).
> 
> Modified:
>    llvm/trunk/lib/Transforms/IPO/SampleProfile.cpp
> 
> Modified: llvm/trunk/lib/Transforms/IPO/SampleProfile.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/SampleProfile.cpp?rev=289724&r1=289723&r2=289724&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Transforms/IPO/SampleProfile.cpp (original)
> +++ llvm/trunk/lib/Transforms/IPO/SampleProfile.cpp Wed Dec 14 16:03:08 2016
> @@ -224,7 +224,7 @@ protected:
>   FunctionSamples *Samples;
> 
>   /// \brief Name of the profile file to load.
> -  StringRef Filename;
> +  std::string Filename;
> 
>   /// \brief Flag indicating whether the profile input loaded successfully.
>   bool ProfileIsValid;
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list