Home | History | Annotate | Download | only in Frontend

Lines Matching refs:Path

30 #include "llvm/Support/Path.h"
42 /// a HeaderSearch object. InitHeaderSearch stores several search path lists
60 /// AddPath - Add the specified path to the specified group list.
61 void AddPath(const llvm::Twine &Path, IncludeDirGroup Group,
84 /// AddDelimitedPaths - Add a list of paths delimited by the system PATH
103 /// Realize - Merges all search path lists into one list and send it to
110 void InitHeaderSearch::AddPath(const llvm::Twine &Path,
114 assert(!Path.isTriviallyEmpty() && "can't handle empty path here");
117 // Compute the actual path, taking into consideration -isysroot.
119 llvm::StringRef MappedPathStr = Path.toStringRef(MappedPathStorage);
125 llvm::sys::path::is_separator(MappedPathStr[0]) &&
127 llvm::sys::path::is_absolute(MappedPathStr) &&
132 (IncludeSysroot + Path).toStringRef(MappedPathStorage);
157 // It is a headermap, add it to the search path.
172 if (at.empty()) // Empty string should not add '.' path.
239 // of a $VERSION placeholder in the key path.
240 // $VERSION in the key path is a placeholder for the version number,
241 // causing the highest value path to be searched for and used.
323 // Open the chosen key path remainder.
356 static bool getVisualStudioDir(std::string &path) {
363 path = vcinstalldir;
381 path = vsIDEInstallDir;
389 path = vsExpressIDEInstallDir;
424 path = p ? std::string(vscomntools, p) : vscomntools;
431 static bool getWindowsSDKDir(std::string &path) {
441 path = windowsSDKInstallDir;
465 // supplied path.
466 llvm::sys::Path P(HSOpts.ResourceDir);
561 llvm::sys::Path P(HSOpts.ResourceDir);
564 P = llvm::sys::Path(HSOpts.ResourceDir);
568 P = llvm::sys::Path(HSOpts.ResourceDir);
988 // dir. This is weird, but required to emulate GCC's search path correctly.
1018 // If the first dir in the search path is a non-system dir, zap it
1115 Init.AddPath(E.Path, E.Group, false, E.IsUserSupplied, E.IsFramework,