Searched refs:CurrentPath (Results 1 – 7 of 7) sorted by relevance
/external/llvm-project/clang/unittests/Frontend/ |
D | CompilerInstanceTest.cpp | 30 SmallString<256> CurrentPath; in TEST() local 31 sys::fs::current_path(CurrentPath); in TEST() 32 sys::fs::make_absolute(CurrentPath, FileName); in TEST() 36 const std::string CurrentPathStr = std::string(CurrentPath.str()); in TEST()
|
/external/llvm-project/clang-tools-extra/clang-doc/ |
D | Representation.cpp | 119 const StringRef &Name, const StringRef &CurrentPath) { in calculateRelativeFilePath() argument 122 if (CurrentPath != Path) { in calculateRelativeFilePath() 125 llvm::sys::path::begin(CurrentPath); in calculateRelativeFilePath() 126 I != llvm::sys::path::end(CurrentPath); ++I) in calculateRelativeFilePath() 140 Reference::getRelativeFilePath(const StringRef &CurrentPath) const { in getRelativeFilePath() 141 return calculateRelativeFilePath(RefType, Path, Name, CurrentPath); in getRelativeFilePath() 152 Info::getRelativeFilePath(const StringRef &CurrentPath) const { in getRelativeFilePath() 153 return calculateRelativeFilePath(IT, Path, extractName(), CurrentPath); in getRelativeFilePath()
|
D | MDGenerator.cpp | 117 static void writeNameLink(const StringRef &CurrentPath, const Reference &R, in writeNameLink() argument 119 llvm::SmallString<64> Path = R.getRelativeFilePath(CurrentPath); in writeNameLink()
|
D | Representation.h | 139 llvm::SmallString<64> getRelativeFilePath(const StringRef &CurrentPath) const; 272 llvm::SmallString<64> getRelativeFilePath(const StringRef &CurrentPath) const;
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ClangTidyOptions.cpp | 256 for (StringRef CurrentPath = Path; !CurrentPath.empty(); in addRawFileOptions() local 257 CurrentPath = llvm::sys::path::parent_path(CurrentPath)) { in addRawFileOptions() 260 auto Iter = CachedOptions.find(CurrentPath); in addRawFileOptions() 265 Result = tryReadConfigFile(CurrentPath); in addRawFileOptions() 269 while (Path != CurrentPath) { in addRawFileOptions()
|
/external/llvm/tools/llvm-config/ |
D | llvm-config.cpp | 269 llvm::SmallString<256> CurrentPath(GetExecutablePath(argv[0])); in main() local 282 sys::fs::make_absolute(CurrentPath); in main() 284 sys::path::parent_path(sys::path::parent_path(CurrentPath)).str(); in main()
|
/external/llvm-project/llvm/tools/llvm-config/ |
D | llvm-config.cpp | 293 llvm::SmallString<256> CurrentPath(GetExecutablePath(argv[0])); in main() local 306 sys::fs::make_absolute(CurrentPath); in main() 308 sys::path::parent_path(sys::path::parent_path(CurrentPath)).str(); in main()
|