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 Twine &Path, IncludeDirGroup Group,
99 /// Realize - Merges all search path lists into one list and send it to
106 void InitHeaderSearch::AddPath(const Twine &Path,
110 assert(!Path.isTriviallyEmpty() && "can't handle empty path here");
113 // Compute the actual path, taking into consideration -isysroot.
115 StringRef MappedPathStr = Path.toStringRef(MappedPathStorage);
121 llvm::sys::path::is_separator(MappedPathStr[0]) &&
123 llvm::sys::path::is_absolute(MappedPathStr) &&
128 (IncludeSysroot + Path).toStringRef(MappedPathStorage);
153 // It is a headermap, add it to the search path.
215 // of a $VERSION placeholder in the key path.
216 // $VERSION in the key path is a placeholder for the version number,
217 // causing the highest value path to be searched for and used.
299 // Open the chosen key path remainder.
332 static bool getVisualStudioDir(std::string &path) {
339 path = vcinstalldir;
357 path = vsIDEInstallDir;
365 path = vsExpressIDEInstallDir;
400 path = p ? std::string(vscomntools, p) : vscomntools;
407 static bool getWindowsSDKDir(std::string &path) {
417 path = windowsSDKInstallDir;
443 // supplied path.
444 llvm::sys::Path P(HSOpts.ResourceDir);
544 llvm::sys::Path P(HSOpts.ResourceDir);
547 P = llvm::sys::Path(HSOpts.ResourceDir);
551 P = llvm::sys::Path(HSOpts.ResourceDir);
951 llvm::sys::Path P(HSOpts.ResourceDir);
1012 // dir. This is weird, but required to emulate GCC's search path correctly.
1042 // If the first dir in the search path is a non-system dir, zap it
1147 Init.AddPath(E.Path, E.Group, false, E.IsUserSupplied, E.IsFramework,