Home
last modified time | relevance | path

Searched refs:ContextHash (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h55 std::string ContextHash; member
58 return ModuleName == Other.ModuleName && ContextHash == Other.ContextHash;
64 return llvm::hash_combine(MID.ModuleName, MID.ContextHash); in operator()
218 std::string ContextHash; variable
/llvm-project-15.0.7/clang/tools/clang-scan-deps/
H A DClangScanDeps.cpp263 return std::tie(A.ModuleName, A.ContextHash) < in toJSONSorted()
264 std::tie(B.ModuleName, B.ContextHash); in toJSONSorted()
270 {{"module-name", MID.ModuleName}, {"context-hash", MID.ContextHash}})); in toJSONSorted()
283 ID.ContextHash = std::move(FD.ID.ContextHash); in mergeDeps()
328 {"context-hash", MD.ID.ContextHash}, in printFullOutput()
347 {"clang-context-hash", I.ContextHash}, in printFullOutput()
396 llvm::sys::path::append(ExplicitPCMPath, MD.ID.ContextHash, Filename); in constructPCMPath()
406 ID.ContextHash == Other.ID.ContextHash; in operator ==()
414 return hash_combine(IMID.ID.ModuleName, IMID.ID.ContextHash); in operator ()()
420 std::string ContextHash; member
/llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningTool.cpp143 ClangModuleDeps[MD.ID.ContextHash + MD.ID.ModuleName] = std::move(MD); in getFullDependencies()
147 ContextHash = std::move(Hash); in getFullDependencies()
157 FD.ID.ContextHash = std::move(ContextHash); in getFullDependencies()
187 std::string ContextHash; in getFullDependencies() member in DependencyScanningTool::getFullDependencies::FullDependencyPrinterConsumer
H A DModuleDepCollector.cpp173 if (MDC.ContextHash.empty()) { in FileChanged()
174 MDC.ContextHash = MDC.ScanInstance.getInvocation().getModuleHash(); in FileChanged()
175 MDC.Consumer.handleContextHash(MDC.ContextHash); in FileChanged()
351 MD.ID.ContextHash = MD.BuildInvocation.getModuleHash(); in handleTopLevelModule()