Home | History | Annotate | Download | only in Sema

Lines Matching refs:Matches

1159       // if the type matches (identity) or we are converting to bool
1163 // if the function type matches except for [[noreturn]], it's ok
1398 // It's compatible if the expression matches any of the fields.
7898 SmallVector<std::pair<DeclAccessPair, FunctionDecl*>, 4> Matches;
7933 Matches.push_back(std::make_pair(dap,Fn));
7945 if (Matches.size() > 1) {
8004 Matches.push_back(std::make_pair(CurAccessFunPair, Specialization));
8030 Matches.push_back(std::make_pair(CurAccessFunPair,
8070 assert(Ret || Matches.empty());
8087 for (unsigned I = 0, E = Matches.size(); I != E; ++I)
8088 MatchesCopy.addDecl(Matches[I].second, Matches[I].first.getAccess());
8095 << Matches[0].second->getDeclName(),
8102 Matches[0].first = Matches[Result - MatchesCopy.begin()].first;
8103 Matches[0].second = cast<FunctionDecl>(*Result);
8104 Matches.resize(1);
8111 for (unsigned I = 0, N = Matches.size(); I != N; ) {
8112 if (Matches[I].second->getPrimaryTemplate() == 0)
8115 Matches[I] = Matches[--N];
8116 Matches.set_size(N);
8123 assert(Matches.empty());
8149 assert(Matches.size() > 1);
8156 int getNumMatches() const { return Matches.size(); }
8159 if (Matches.size() != 1) return 0;
8160 return Matches[0].second;
8164 if (Matches.size() != 1) return 0;
8165 return &Matches[0].first;
8240 // whose type matches exactly.
8271 // Multiple matches; we can't resolve to a single declaration.