Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCloneDetection.cpp250 std::vector<std::pair<size_t, StmtSequence>> &StmtsByHash) { in saveHash() argument
264 size_t ChildHash = saveHash(Child, D, StmtsByHash); in saveHash()
289 StmtsByHash.push_back(std::make_pair( in saveHash()
297 StmtsByHash.push_back(std::make_pair(HashCode, StmtSequence(S, D))); in saveHash()
361 std::vector<std::pair<size_t, StmtSequence>> StmtsByHash; in constrain() local
365 saveHash(S.front(), S.getContainingDecl(), StmtsByHash); in constrain()
369 llvm::stable_sort(StmtsByHash, llvm::less_first()); in constrain()
375 for (unsigned i = 0; i < StmtsByHash.size() - 1; ++i) { in constrain()
376 const auto Current = StmtsByHash[i]; in constrain()
385 for (; i < StmtsByHash.size(); ++i) { in constrain()
[all …]