Home
last modified time | relevance | path

Searched refs:PathName (Results 1 – 5 of 5) sorted by relevance

/llvm-project/llvm/utils/KillTheDoctor/
H A DKillTheDoctor.cpp226 char PathName[MAX_PATH + 1]; in FindProgram() local
241 std::size(PathName), PathName, NULL); in FindProgram()
244 else if (length > std::size(PathName)) { in FindProgram()
256 PathName[MAX_PATH] = 0; in FindProgram()
257 return PathName; in FindProgram()
/llvm-project/llvm/tools/llvm-readtapi/
H A Dllvm-readtapi.cpp443 for (StringRef PathName : Ctx.Inputs) { in handleSingleFileAction()
445 if (auto EC = sys::fs::is_directory(PathName, IsDirectory)) in handleSingleFileAction()
446 reportError(PathName + ": " + EC.message()); in handleSingleFileAction()
450 reportError("cannot stubify directory'" + PathName + in setStubOptions()
452 stubifyDirectory(PathName, Ctx); in setStubOptions()
456 stubifyImpl(getInterfaceFile(PathName), Ctx); in main()
458 if (auto ec = sys::fs::remove(PathName)) in main()
459 reportError("deleting file '" + PathName + ": " + ec.message()); in main()
409 for (StringRef PathName : Ctx.Inputs) { handleStubifyAction() local
/llvm-project/llvm/lib/Support/Windows/
H A DPath.inc134 SmallVector<wchar_t, MAX_PATH> PathName;
135 PathName.resize_for_overwrite(PathName.capacity());
136 DWORD Size = ::GetModuleFileNameW(NULL, PathName.data(), PathName.size());
144 if (Size == PathName.capacity())
149 PathName.truncate(Size);
153 if (UTF16ToUTF8(PathName.data(), PathName.size(), PathNameUTF8))
/llvm-project/clang/lib/Basic/
H A DFileManager.cpp352 if (auto PathName = UFE->File->getName()) in getFileRef()
353 fillRealPathName(UFE, *PathName); in getFileRef()
350 if (auto PathName = UFE->File->getName()) getFileRef() local
/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp2574 SmallString<128> PathName; in parseUmbrellaDirDecl()
2575 PathName = Directory.getName(); in parseUmbrellaDirDecl()
2576 llvm::sys::path::append(PathName, DirName); in parseUmbrellaDirDecl()
2577 Dir = SourceMgr.getFileManager().getOptionalDirectoryRef(PathName); in parseUmbrellaDirDecl()
2557 SmallString<128> PathName; parseUmbrellaDirDecl() local