Searched refs:CurrentPath (Results 1 – 6 of 6) sorted by relevance
/llvm-project/clang/unittests/Frontend/ |
H A D | CompilerInstanceTest.cpp | 31 SmallString<256> CurrentPath; in TEST() 32 sys::fs::current_path(CurrentPath); in TEST() 33 sys::fs::make_absolute(CurrentPath, FileName); in TEST() 37 const std::string CurrentPathStr = std::string(CurrentPath.str()); in TEST() 30 SmallString<256> CurrentPath; TEST() local
|
/llvm-project/clang-tools-extra/clang-doc/ |
H A D | Representation.cpp | 133 const StringRef &Name, const StringRef &CurrentPath) { in calculateRelativeFilePath() argument 136 if (CurrentPath != Path) { in calculateRelativeFilePath() 139 llvm::sys::path::begin(CurrentPath); in calculateRelativeFilePath() 140 I != llvm::sys::path::end(CurrentPath); ++I) in calculateRelativeFilePath() 154 Reference::getRelativeFilePath(const StringRef &CurrentPath) const { in getRelativeFilePath() 155 return calculateRelativeFilePath(RefType, Path, Name, CurrentPath); in getRelativeFilePath() 166 Info::getRelativeFilePath(const StringRef &CurrentPath) const { in getRelativeFilePath() 167 return calculateRelativeFilePath(IT, Path, extractName(), CurrentPath); in getRelativeFilePath()
|
H A D | Representation.h | 109 /// Returns the path for this Reference relative to CurrentPath. 110 llvm::SmallString<64> getRelativeFilePath(const StringRef &CurrentPath) const; 298 /// Returns the file path for this Info relative to CurrentPath. 299 llvm::SmallString<64> getRelativeFilePath(const StringRef &CurrentPath) const;
|
H A D | MDGenerator.cpp | 121 static void writeNameLink(const StringRef &CurrentPath, const Reference &R, in writeNameLink() argument 123 llvm::SmallString<64> Path = R.getRelativeFilePath(CurrentPath); in writeNameLink()
|
/llvm-project/clang-tools-extra/clang-tidy/ |
H A D | ClangTidyOptions.cpp | 355 [this, &RootPath](StringRef CurrentPath) -> std::optional<OptionsSource> { in addRawFileOptions() 356 const auto Iter = CachedOptions.Memorized.find(CurrentPath); in addRawFileOptions() 359 std::optional<OptionsSource> OptionsSource = tryReadConfigFile(CurrentPath); in addRawFileOptions() 363 while (RootPath != CurrentPath) { in addRawFileOptions() 369 CachedOptions.Memorized[CurrentPath] = Index; in addRawFileOptions() 370 RootPath = llvm::sys::path::parent_path(CurrentPath); in addRawFileOptions() 374 for (StringRef CurrentPath = RootPath; !CurrentPath.empty(); in addRawFileOptions() 375 CurrentPath = llvm::sys::path::parent_path(CurrentPath)) { 344 for (StringRef CurrentPath = Path; !CurrentPath.empty(); addRawFileOptions() local [all...] |
/llvm-project/llvm/tools/llvm-config/ |
H A D | llvm-config.cpp | 292 llvm::SmallString<256> CurrentPath(GetExecutablePath(argv[0])); in main() local 305 sys::fs::make_absolute(CurrentPath); in main() 307 sys::path::parent_path(sys::path::parent_path(CurrentPath)).str(); in main()
|