Lines Matching refs:LookupResult
187 LookupResult Result(*this, &II, NameLoc, Kind);
211 case LookupResult::NotFound:
212 case LookupResult::NotFoundInCurrentInstantiation:
259 case LookupResult::FoundOverloaded:
260 case LookupResult::FoundUnresolvedValue:
264 case LookupResult::Ambiguous:
270 if (Result.getAmbiguityKind() == LookupResult::AmbiguousTagHiding) {
276 for (LookupResult::iterator Res = Result.begin(), ResEnd = Result.end();
303 case LookupResult::Found:
356 LookupResult R(*this, &II, SourceLocation(), LookupTagName);
359 if (R.getResultKind() == LookupResult::Found)
509 static bool isResultTypeOrTemplate(LookupResult &R, const Token &NextToken) {
513 for (LookupResult::iterator I = R.begin(), IEnd = R.end(); I != IEnd; ++I) {
524 static bool isTagTypeWithMissingTag(Sema &SemaRef, LookupResult &Result,
528 LookupResult R(SemaRef, Name, NameLoc, Sema::LookupTagName);
564 for (LookupResult::iterator I = Result.begin(), IEnd = Result.end();
609 LookupResult Result(*this, Name, NameLoc, LookupOrdinaryName);
627 case LookupResult::NotFound:
711 // Also update the LookupResult...
739 case LookupResult::NotFoundInCurrentInstantiation: {
759 case LookupResult::Found:
760 case LookupResult::FoundOverloaded:
761 case LookupResult::FoundUnresolvedValue:
764 case LookupResult::Ambiguous:
1029 static bool AllowOverloadingOfFunction(LookupResult &Previous,
1034 if (Previous.getResultKind() == LookupResult::FoundOverloaded)
1037 return (Previous.getResultKind() == LookupResult::Found
1131 void Sema::FilterLookupForScope(LookupResult &R,
1135 LookupResult::Filter F = R.makeFilter();
1159 static void RemoveUsingDecls(LookupResult &R) {
1160 LookupResult::Filter F = R.makeFilter();
1513 LookupResult Result(ThisSema, &Context.Idents.get("objc_super"),
1516 if (Result.getResultKind() == LookupResult::Found)
1613 LookupResult &previous){
1622 LookupResult::Filter filter = previous.makeFilter();
1676 void Sema::MergeTypedefNameDecl(TypedefNameDecl *New, LookupResult &OldDecls) {
2894 void Sema::MergeVarDecl(VarDecl *New, LookupResult &Previous,
3304 LookupResult R(SemaRef, Name, NameLoc, Sema::LookupMemberName,
4166 LookupResult Previous(*this, NameInfo, LookupOrdinaryName,
4454 TypeSourceInfo *TInfo, LookupResult &Previous) {
4534 LookupResult &Previous, bool &Redeclaration) {
4790 TypeSourceInfo *TInfo, LookupResult &Previous,
5265 LookupResult PrevDecl(*this, GetNameForDeclarator(D),
5348 void Sema::CheckShadow(Scope *S, VarDecl *D, const LookupResult& R) {
5361 if (R.getResultKind() != LookupResult::Found)
5428 LookupResult R(*this, D->getDeclName(), D->getLocation(),
5438 Sema &S, const T *ND, bool IsGlobal, LookupResult &Previous) {
5468 for (LookupResult::iterator I = Previous.begin(), E = Previous.end();
5521 LookupResult &Previous) {
5703 LookupResult &Previous) {
5918 Sema &SemaRef, LookupResult &Previous, FunctionDecl *NewFD,
5923 LookupResult Prev(SemaRef, Name, NewFD->getLocation(),
5941 for (LookupResult::iterator Func = Prev.begin(), FuncEnd = Prev.end();
5992 for (LookupResult::iterator Func = Previous.begin(),
6427 TypeSourceInfo *TInfo, LookupResult &Previous,
6864 Previous.getResultKind() != LookupResult::FoundOverloaded) &&
6987 Previous.getResultKind() != LookupResult::FoundOverloaded) &&
7217 LookupResult &Previous,
8912 LookupResult R(*this, II, D.getIdentifierLoc(), LookupOrdinaryName,
10132 LookupResult Previous(*this, Name, NameLoc, LookupTagName, Redecl);
10202 LookupResult::Filter F = Previous.makeFilter();
10222 LookupResult::Filter F = Previous.makeFilter();
11040 LookupResult Previous(*this, II, Loc, LookupMemberName, ForRedeclaration);
11043 case LookupResult::Found:
11044 case LookupResult::FoundUnresolvedValue:
11048 case LookupResult::FoundOverloaded:
11052 case LookupResult::NotFound:
11053 case LookupResult::NotFoundInCurrentInstantiation:
11054 case LookupResult::Ambiguous: