r219941 - Speculatively fix GCC 4.7 build after r219938
David Blaikie
dblaikie at gmail.com
Thu Oct 16 12:03:50 PDT 2014
On Thu, Oct 16, 2014 at 10:57 AM, Hans Wennborg <hans at hanshq.net> wrote:
> Author: hans
> Date: Thu Oct 16 12:57:41 2014
> New Revision: 219941
>
> URL: http://llvm.org/viewvc/llvm-project?rev=219941&view=rev
> Log:
> Speculatively fix GCC 4.7 build after r219938
>
> Modified:
> cfe/trunk/tools/driver/driver.cpp
>
> Modified: cfe/trunk/tools/driver/driver.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/driver.cpp?rev=219941&r1=219940&r2=219941&view=diff
>
> ==============================================================================
> --- cfe/trunk/tools/driver/driver.cpp (original)
> +++ cfe/trunk/tools/driver/driver.cpp Thu Oct 16 12:57:41 2014
> @@ -244,7 +244,7 @@ static void ParseProgName(SmallVectorImp
>
> for (int Components = 2; Components; --Components) {
> auto I = std::find_if(std::begin(suffixes), std::end(suffixes),
> - [&](const decltype(suffixes[0]) &suffix) {
> + [&](decltype(suffixes[0]) &suffix) {
>
Thanks!
> return ProgNameRef.endswith(suffix.Suffix);
> });
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141016/99bd1b63/attachment.html>
More information about the cfe-commits
mailing list