Home
last modified time | relevance | path

Searched refs:ModuleCachePath (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DTestTU.cpp71 llvm::SmallString<128> ModuleCachePath; in initializeModuleCache() local
73 llvm::sys::fs::createUniqueDirectory("module-cache", ModuleCachePath)); in initializeModuleCache()
74 CI.getHeaderSearchOpts().ModuleCachePath = ModuleCachePath.c_str(); in initializeModuleCache()
77 void deleteModuleCache(const std::string ModuleCachePath) { in deleteModuleCache() argument
78 if (!ModuleCachePath.empty()) { in deleteModuleCache()
79 ASSERT_FALSE(llvm::sys::fs::remove_directories(ModuleCachePath)); in deleteModuleCache()
93 std::bind(deleteModuleCache, CI->getHeaderSearchOpts().ModuleCachePath)); in preamble()
107 std::bind(deleteModuleCache, CI->getHeaderSearchOpts().ModuleCachePath)); in build()
/external/clang/include/clang/Lex/
DHeaderSearch.h174 std::string ModuleCachePath; variable
318 ModuleCachePath = CachePath; in setModuleCachePath()
322 StringRef getModuleCachePath() const { return ModuleCachePath; } in getModuleCachePath()
DHeaderSearchOptions.h91 std::string ModuleCachePath; variable
/external/llvm-project/clang/include/clang/Lex/
DHeaderSearch.h190 std::string ModuleCachePath; variable
330 ModuleCachePath = std::string(CachePath); in setModuleCachePath()
337 StringRef getModuleCachePath() const { return ModuleCachePath; } in getModuleCachePath()
DHeaderSearchOptions.h112 std::string ModuleCachePath; variable
/external/clang/lib/Frontend/
DCompilerInstance.cpp389 SmallString<256> SpecificModuleCache(getHeaderSearchOpts().ModuleCachePath); in getSpecificModuleCachePath()
1212 TimestampFile = HSOpts.ModuleCachePath; in pruneModuleCache()
1241 llvm::sys::path::native(HSOpts.ModuleCachePath, ModuleCachePathNative); in pruneModuleCache()
DCompilerInvocation.cpp1361 Opts.ModuleCachePath = Args.getLastArgValue(OPT_fmodules_cache_path); in ParseHeaderSearchArgs()
/external/llvm-project/clang/lib/Frontend/
DCompilerInstance.cpp486 SmallString<256> SpecificModuleCache(getHeaderSearchOpts().ModuleCachePath); in getSpecificModuleCachePath()
1433 TimestampFile = HSOpts.ModuleCachePath; in pruneModuleCache()
1463 llvm::sys::path::native(HSOpts.ModuleCachePath, ModuleCachePathNative); in pruneModuleCache()
DCompilerInvocation.cpp2218 Opts.ModuleCachePath = std::string(P.str()); in ParseHeaderSearchArgs()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangExpressionParser.cpp297 search_opts.ModuleCachePath = std::string(module_cache.str()); in SetupModuleHeaderPaths()
/external/clang/lib/Serialization/
DASTReader.cpp3417 StringRef ModuleCachePath in loadGlobalIndex() local
3420 = GlobalModuleIndex::readIndex(ModuleCachePath); in loadGlobalIndex()
4799 HSOpts.ModuleCachePath = ReadString(Record, Idx); in ParseHeaderSearchOptions()
DASTWriter.cpp1451 AddString(HSOpts.ModuleCachePath, Record); in WriteControlBlock()
/external/llvm-project/clang/lib/Serialization/
DASTReader.cpp4105 StringRef ModuleCachePath in loadGlobalIndex() local
4108 GlobalModuleIndex::readIndex(ModuleCachePath); in loadGlobalIndex()
5827 HSOpts.ModuleCachePath = ReadString(Record, Idx); in ParseHeaderSearchOptions()
DASTWriter.cpp1318 AddString(HSOpts.ModuleCachePath, Record); in WriteControlBlock()