Home
last modified time | relevance | path

Searched refs:CurrentPath (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Frontend/
H A DCompilerInstanceTest.cpp30 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()
/llvm-project-15.0.7/clang-tools-extra/clang-doc/
H A DRepresentation.cpp119 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()
H A DMDGenerator.cpp117 static void writeNameLink(const StringRef &CurrentPath, const Reference &R, in writeNameLink() argument
119 llvm::SmallString<64> Path = R.getRelativeFilePath(CurrentPath); in writeNameLink()
H A DRepresentation.h139 llvm::SmallString<64> getRelativeFilePath(const StringRef &CurrentPath) const;
272 llvm::SmallString<64> getRelativeFilePath(const StringRef &CurrentPath) const;
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DClangTidyOptions.cpp290 for (StringRef CurrentPath = Path; !CurrentPath.empty(); in addRawFileOptions() local
291 CurrentPath = llvm::sys::path::parent_path(CurrentPath)) { in addRawFileOptions()
294 auto Iter = CachedOptions.find(CurrentPath); in addRawFileOptions()
299 Result = tryReadConfigFile(CurrentPath); in addRawFileOptions()
303 while (Path != CurrentPath) { in addRawFileOptions()
/llvm-project-15.0.7/llvm/tools/llvm-config/
H A Dllvm-config.cpp295 llvm::SmallString<256> CurrentPath(GetExecutablePath(argv[0])); in main() local
308 sys::fs::make_absolute(CurrentPath); in main()
310 sys::path::parent_path(sys::path::parent_path(CurrentPath)).str(); in main()