diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-10-16 17:57:41 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2014-10-16 17:57:41 +0000 |
commit | 1e46ef4e08d749b1f47017a8422c6d2c05ef4f37 (patch) | |
tree | 02976d99b5c506f46a3ffe46d111689b3d63194b | |
parent | ae2144ec3f5d2f589a04adbc71f1756ac2bf1d5b (diff) | |
download | bcm5719-llvm-1e46ef4e08d749b1f47017a8422c6d2c05ef4f37.tar.gz bcm5719-llvm-1e46ef4e08d749b1f47017a8422c6d2c05ef4f37.zip |
Speculatively fix GCC 4.7 build after r219938
llvm-svn: 219941
-rw-r--r-- | clang/tools/driver/driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/driver/driver.cpp b/clang/tools/driver/driver.cpp index b7f7fbf851c..f411cf98324 100644 --- a/clang/tools/driver/driver.cpp +++ b/clang/tools/driver/driver.cpp @@ -244,7 +244,7 @@ static void ParseProgName(SmallVectorImpl<const char *> &ArgVector, 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) { return ProgNameRef.endswith(suffix.Suffix); }); |