Lines Matching defs:Matches
1682 SmallVector<std::pair<DeclAccessPair,FunctionDecl*>, 2> Matches;
1736 Matches.push_back(std::make_pair(D.getPair(), Fn));
1747 Matches.push_back(std::make_pair(D.getPair(), Fn));
1760 if (getLangOpts().SizedDeallocation && Matches.size() == 2) {
1761 if (Matches[0].second->getNumParams() == 1)
1762 Matches.erase(Matches.begin());
1764 Matches.erase(Matches.begin() + 1);
1765 assert(Matches[0].second->getNumParams() == 2 &&
1774 if (Matches.size() == 1) {
1775 OperatorDelete = Matches[0].second;
1793 Matches[0].first);
2105 llvm::SmallVector<FunctionDecl*, 2> Matches;
2111 Matches.push_back(Fn);
2121 if (getLangOpts().SizedDeallocation && Matches.size() == 2) {
2123 if (Matches[0]->getNumParams() != NumArgs)
2124 Matches.erase(Matches.begin());
2126 Matches.erase(Matches.begin() + 1);
2127 assert(Matches[0]->getNumParams() == NumArgs &&
2131 assert(Matches.size() == 1 &&
2133 return Matches.front();
2148 SmallVector<DeclAccessPair,4> Matches;
2159 Matches.push_back(F.getPair());
2163 if (Matches.size() == 1) {
2164 Operator = cast<CXXMethodDecl>(Matches[0]->getUnderlyingDecl());
2175 Matches[0], Diagnose) == AR_inaccessible)
2181 } else if (!Matches.empty()) {
2187 F = Matches.begin(), FEnd = Matches.end(); F != FEnd; ++F)