Lines Matching +full:paths +full:- +full:ignore

1 //===--- InitHeaderSearch.cpp - Initialize header search paths ------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
46 /// This class makes it easier to set the search paths of a HeaderSearch object.
80 /// Add the necessary paths to support a MinGW libstdc++.
85 /// Add paths that should always be searched.
89 /// Add paths that should be searched when compiling c++.
95 /// returns false, include paths should instead be handled in the driver.
98 /// Adds the default system include paths so that e.g. stdio.h is found.
143 // If use system headers while cross-compiling, emit the warning. in AddUnmappedPath()
167 // Check to see if this is an apple-style headermap (which are not allowed to in AddUnmappedPath()
212 // FIXME: temporary hack: hard-coded paths. in AddDefaultCIncludePaths()
221 // Ignore the sys root, we *always* look for clang headers relative to in AddDefaultCIncludePaths()
233 // Add dirs specified via 'configure --with-c-include-dirs'. in AddDefaultCIncludePaths()
267 // FIXME: temporary hack: hard-coded paths. in AddDefaultCPlusPlusIncludePaths()
274 // Cygwin-1.7 in AddDefaultCPlusPlusIncludePaths()
275 AddMinGWCPlusPlusIncludePaths("/usr/lib/gcc", "i686-pc-cygwin", "4.7.3"); in AddDefaultCPlusPlusIncludePaths()
276 AddMinGWCPlusPlusIncludePaths("/usr/lib/gcc", "i686-pc-cygwin", "4.5.3"); in AddDefaultCPlusPlusIncludePaths()
277 AddMinGWCPlusPlusIncludePaths("/usr/lib/gcc", "i686-pc-cygwin", "4.3.4"); in AddDefaultCPlusPlusIncludePaths()
278 // g++-4 / Cygwin-1.5 in AddDefaultCPlusPlusIncludePaths()
279 AddMinGWCPlusPlusIncludePaths("/usr/lib/gcc", "i686-pc-cygwin", "4.3.2"); in AddDefaultCPlusPlusIncludePaths()
334 // driver which has the information necessary to do target-specific in AddDefaultIncludePaths()
335 // selections of default include paths. Each target which moves there will be in AddDefaultIncludePaths()
345 // Add the default framework include paths on Darwin. in AddDefaultIncludePaths()
369 /// remove the later (dead) ones. Returns the number of non-system headers
399 // ignore the user's request and drop the user dir... keeping the system in RemoveDuplicates()
430 // If the first dir in the search path is a non-system dir, zap it in RemoveDuplicates()
440 llvm::errs() << " as it is a non-system directory that duplicates " in RemoveDuplicates()
449 --i; in RemoveDuplicates()
514 NumAngled -= NonSystemRemoved; in Realize()