projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae2144e
)
Speculatively fix GCC 4.7 build after r219938
author
Hans Wennborg
<hans@hanshq.net>
Thu, 16 Oct 2014 17:57:41 +0000
(17:57 +0000)
committer
Hans Wennborg
<hans@hanshq.net>
Thu, 16 Oct 2014 17:57:41 +0000
(17:57 +0000)
llvm-svn: 219941
clang/tools/driver/driver.cpp
patch
|
blob
|
history
diff --git
a/clang/tools/driver/driver.cpp
b/clang/tools/driver/driver.cpp
index
b7f7fbf
..
f411cf9
100644
(file)
--- 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);
});