forked from OSchip/llvm-project
Speculatively fix GCC 4.7 build after r219938
llvm-svn: 219941
This commit is contained in:
parent
ae2144ec3f
commit
1e46ef4e08
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue