@@ -77,12 +77,6 @@ class InitHeaderSearch {
77
77
SystemHeaderPrefixes.emplace_back (std::string (Prefix), IsSystemHeader);
78
78
}
79
79
80
- // / Add the necessary paths to support a gnu libstdc++.
81
- // / Returns true if the \p Base path was found, false if it does not exist.
82
- bool AddGnuCPlusPlusIncludePaths (StringRef Base, StringRef ArchDir,
83
- StringRef Dir32, StringRef Dir64,
84
- const llvm::Triple &triple);
85
-
86
80
// / Add the necessary paths to support a MinGW libstdc++.
87
81
void AddMinGWCPlusPlusIncludePaths (StringRef Base,
88
82
StringRef Arch,
@@ -190,27 +184,6 @@ bool InitHeaderSearch::AddUnmappedPath(const Twine &Path, IncludeDirGroup Group,
190
184
return false ;
191
185
}
192
186
193
- bool InitHeaderSearch::AddGnuCPlusPlusIncludePaths (StringRef Base,
194
- StringRef ArchDir,
195
- StringRef Dir32,
196
- StringRef Dir64,
197
- const llvm::Triple &triple) {
198
- // Add the base dir
199
- bool IsBaseFound = AddPath (Base, CXXSystem, false );
200
-
201
- // Add the multilib dirs
202
- llvm::Triple::ArchType arch = triple.getArch ();
203
- bool is64bit = arch == llvm::Triple::ppc64 || arch == llvm::Triple::x86_64;
204
- if (is64bit)
205
- AddPath (Base + " /" + ArchDir + " /" + Dir64, CXXSystem, false );
206
- else
207
- AddPath (Base + " /" + ArchDir + " /" + Dir32, CXXSystem, false );
208
-
209
- // Add the backward dir
210
- AddPath (Base + " /backward" , CXXSystem, false );
211
- return IsBaseFound;
212
- }
213
-
214
187
void InitHeaderSearch::AddMinGWCPlusPlusIncludePaths (StringRef Base,
215
188
StringRef Arch,
216
189
StringRef Version) {
0 commit comments