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:
7dcfac6
)
Remove OpenBSD case for old system libstdc++ header path as OpenBSD
author
Brad Smith
<brad@comstyle.com>
Sat, 23 Feb 2019 07:21:19 +0000
(07:21 +0000)
committer
Brad Smith
<brad@comstyle.com>
Sat, 23 Feb 2019 07:21:19 +0000
(07:21 +0000)
has switched to libc++.
llvm-svn: 354723
clang/lib/Frontend/InitHeaderSearch.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Frontend/InitHeaderSearch.cpp
b/clang/lib/Frontend/InitHeaderSearch.cpp
index
6391d7a
..
d96fa81
100644
(file)
--- a/
clang/lib/Frontend/InitHeaderSearch.cpp
+++ b/
clang/lib/Frontend/InitHeaderSearch.cpp
@@
-432,14
+432,6
@@
void InitHeaderSearch::AddDefaultCPlusPlusIncludePaths(
case llvm::Triple::DragonFly:
AddPath("/usr/include/c++/5.0", CXXSystem, false);
break;
- case llvm::Triple::OpenBSD: {
- std::string t = triple.getTriple();
- if (t.substr(0, 6) == "x86_64")
- t.replace(0, 6, "amd64");
- AddGnuCPlusPlusIncludePaths("/usr/include/g++",
- t, "", "", triple);
- break;
- }
case llvm::Triple::Minix:
AddGnuCPlusPlusIncludePaths("/usr/gnu/include/c++/4.4.3",
"", "", "", triple);