Efficiency refinements.
llvm-svn: 83666
This commit is contained in:
parent
c5b2d917de
commit
1ba6edb030
@ -59,7 +59,7 @@ public:
|
||||
|
||||
/// AddGnuCPlusPlusIncludePaths - Add the necessary paths to suport a gnu
|
||||
/// libstdc++.
|
||||
void AddGnuCPlusPlusIncludePaths(std::string base, std::string arch);
|
||||
void AddGnuCPlusPlusIncludePaths(const std::string &Base, const char *Arch);
|
||||
|
||||
/// AddDefaultEnvVarPaths - Adds list of paths from default environment
|
||||
/// variables such as CPATH.
|
||||
|
||||
@ -98,11 +98,11 @@ void InitHeaderSearch::AddEnvVarPaths(const char *Name) {
|
||||
AddPath(at, Angled, false, true, false);
|
||||
}
|
||||
|
||||
void InitHeaderSearch::AddGnuCPlusPlusIncludePaths(std::string base,
|
||||
std::string arch) {
|
||||
AddPath(base, System, true, false, false);
|
||||
AddPath(base + "/" + arch, System, true, false, false);
|
||||
AddPath(base + "/backward", System, true, false, false);
|
||||
void InitHeaderSearch::AddGnuCPlusPlusIncludePaths(const std::string &Base,
|
||||
const char *Arch) {
|
||||
AddPath(Base, System, true, false, false);
|
||||
AddPath(Base + "/" + Arch, System, true, false, false);
|
||||
AddPath(Base + "/backward", System, true, false, false);
|
||||
}
|
||||
|
||||
#if defined(LLVM_ON_WIN32)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user