Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Analysis/
DCloneDetection.cpp251 std::vector<std::pair<size_t, StmtSequence>> &StmtsByHash) { in saveHash() argument
265 size_t ChildHash = saveHash(Child, D, StmtsByHash); in saveHash()
290 StmtsByHash.push_back(std::make_pair( in saveHash()
298 StmtsByHash.push_back(std::make_pair(HashCode, StmtSequence(S, D))); in saveHash()
362 std::vector<std::pair<size_t, StmtSequence>> StmtsByHash; in constrain() local
366 saveHash(S.front(), S.getContainingDecl(), StmtsByHash); in constrain()
370 llvm::stable_sort(StmtsByHash, llvm::less_first()); in constrain()
376 for (unsigned i = 0; i < StmtsByHash.size() - 1; ++i) { in constrain()
377 const auto Current = StmtsByHash[i]; in constrain()
386 for (; i < StmtsByHash.size(); ++i) { in constrain()
[all …]