Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/index/remote/server/
DServer.cpp48 llvm::cl::opt<std::string> IndexPath(llvm::cl::desc("<INDEX FILE>"), variable
283 void hotReload(clangd::SwapIndex &Index, llvm::StringRef IndexPath, in hotReload() argument
286 auto Status = FS->status(IndexPath); in hotReload()
296 std::unique_ptr<clang::clangd::SymbolIndex> NewIndex = loadIndex(IndexPath); in hotReload()
307 llvm::StringRef IndexPath) { in runServerAndWait() argument
400 auto Status = FS->status(IndexPath); in main()
402 elog("{0} does not exist.", IndexPath); in main()
406 auto SymIndex = clang::clangd::loadIndex(IndexPath); in main()
417 hotReload(Index, llvm::StringRef(IndexPath), LastStatus, FS); in main()
422 runServerAndWait(Index, ServerAddress, IndexPath); in main()
/external/clang/lib/Serialization/
DGlobalModuleIndex.cpp238 llvm::SmallString<128> IndexPath; in readIndex() local
239 IndexPath += Path; in readIndex()
240 llvm::sys::path::append(IndexPath, IndexFileName); in readIndex()
243 llvm::MemoryBuffer::getFile(IndexPath.c_str()); in readIndex()
771 llvm::SmallString<128> IndexPath; in writeIndex() local
772 IndexPath += Path; in writeIndex()
773 llvm::sys::path::append(IndexPath, IndexFileName); in writeIndex()
777 llvm::LockFileManager Locked(IndexPath); in writeIndex()
831 if (llvm::sys::fs::createUniqueFile(IndexPath + "-%%%%%%%%", TmpFD, in writeIndex()
847 llvm::sys::fs::remove(IndexPath); in writeIndex()
[all …]
/external/llvm-project/clang/lib/Serialization/
DGlobalModuleIndex.cpp255 llvm::SmallString<128> IndexPath; in readIndex() local
256 IndexPath += Path; in readIndex()
257 llvm::sys::path::append(IndexPath, IndexFileName); in readIndex()
260 llvm::MemoryBuffer::getFile(IndexPath.c_str()); in readIndex()
855 llvm::SmallString<128> IndexPath; in writeIndex() local
856 IndexPath += Path; in writeIndex()
857 llvm::sys::path::append(IndexPath, IndexFileName); in writeIndex()
861 llvm::LockFileManager Locked(IndexPath); in writeIndex()
916 return llvm::writeFileAtomically((IndexPath + "-%%%%%%%%").str(), IndexPath, in writeIndex()
/external/llvm-project/clang/lib/CrossTU/
DCrossTranslationUnit.cpp149 parseCrossTUIndex(StringRef IndexPath) { in parseCrossTUIndex() argument
150 std::ifstream ExternalMapFile{std::string(IndexPath)}; in parseCrossTUIndex()
153 IndexPath.str()); in parseCrossTUIndex()
173 index_error_code::multiple_definitions, IndexPath.str(), LineNo); in parseCrossTUIndex()
176 index_error_code::invalid_index_format, IndexPath.str(), LineNo); in parseCrossTUIndex()
/external/llvm-project/clang/include/clang/CrossTU/
DCrossTranslationUnit.h96 parseCrossTUIndex(StringRef IndexPath);
/external/llvm-project/clang-tools-extra/clang-doc/
DHTMLGenerator.cpp940 llvm::SmallString<128> IndexPath; in GenIndex() local
941 llvm::sys::path::native(CDCtx.OutDirectory, IndexPath); in GenIndex()
942 llvm::sys::path::append(IndexPath, "index.html"); in GenIndex()
943 llvm::raw_fd_ostream IndexOS(IndexPath, FileErr, llvm::sys::fs::OF_None); in GenIndex()