Lines Matching refs:LookupResult
251 LookupResult Result(*this, &II, NameLoc, Kind);
283 case LookupResult::NotFound:
284 case LookupResult::NotFoundInCurrentInstantiation:
324 case LookupResult::FoundOverloaded:
325 case LookupResult::FoundUnresolvedValue:
329 case LookupResult::Ambiguous:
335 if (Result.getAmbiguityKind() == LookupResult::AmbiguousTagHiding) {
341 for (LookupResult::iterator Res = Result.begin(), ResEnd = Result.end();
368 case LookupResult::Found:
464 LookupResult R(*this, &II, SourceLocation(), LookupTagName);
467 if (R.getResultKind() == LookupResult::Found)
603 static bool isResultTypeOrTemplate(LookupResult &R, const Token &NextToken) {
607 for (LookupResult::iterator I = R.begin(), IEnd = R.end(); I != IEnd; ++I) {
618 static bool isTagTypeWithMissingTag(Sema &SemaRef, LookupResult &Result,
622 LookupResult R(SemaRef, Name, NameLoc, Sema::LookupTagName);
653 for (LookupResult::iterator I = Result.begin(), IEnd = Result.end();
697 LookupResult Result(*this, Name, NameLoc, LookupOrdinaryName);
723 case LookupResult::NotFound:
803 // Also update the LookupResult...
828 case LookupResult::NotFoundInCurrentInstantiation: {
848 case LookupResult::Found:
849 case LookupResult::FoundOverloaded:
850 case LookupResult::FoundUnresolvedValue:
853 case LookupResult::Ambiguous:
1126 static bool AllowOverloadingOfFunction(LookupResult &Previous,
1131 if (Previous.getResultKind() == LookupResult::FoundOverloaded)
1134 return (Previous.getResultKind() == LookupResult::Found
1226 void Sema::FilterLookupForScope(LookupResult &R, DeclContext *Ctx, Scope *S,
1229 LookupResult::Filter F = R.makeFilter();
1252 static void RemoveUsingDecls(LookupResult &R) {
1253 LookupResult::Filter F = R.makeFilter();
1597 LookupResult Result(ThisSema, &Context.Idents.get("objc_super"),
1600 if (Result.getResultKind() == LookupResult::Found)
1706 LookupResult &previous){
1715 LookupResult::Filter filter = previous.makeFilter();
1769 void Sema::MergeTypedefNameDecl(TypedefNameDecl *New, LookupResult &OldDecls) {
3057 LookupResult &Previous) {
3093 void Sema::MergeVarDecl(VarDecl *New, LookupResult &Previous) {
3546 LookupResult R(SemaRef, Name, NameLoc, Sema::LookupMemberName,
4453 LookupResult Previous(*this, NameInfo, LookupOrdinaryName,
4753 TypeSourceInfo *TInfo, LookupResult &Previous) {
4833 LookupResult &Previous, bool &Redeclaration) {
5201 TypeSourceInfo *TInfo, LookupResult &Previous,
5742 void Sema::CheckShadow(Scope *S, VarDecl *D, const LookupResult& R) {
5754 if (R.getResultKind() != LookupResult::Found)
5820 LookupResult R(*this, D->getDeclName(), D->getLocation(),
5830 Sema &S, const T *ND, bool IsGlobal, LookupResult &Previous) {
5860 for (LookupResult::iterator I = Previous.begin(), E = Previous.end();
5913 LookupResult &Previous) {
6092 bool Sema::CheckVariableDeclaration(VarDecl *NewVD, LookupResult &Previous) {
6283 Sema &SemaRef, LookupResult &Previous, FunctionDecl *NewFD,
6293 LookupResult Prev(SemaRef, Name, NewFD->getLocation(),
6309 for (LookupResult::iterator Func = Prev.begin(), FuncEnd = Prev.end();
6365 for (LookupResult::iterator I = Previous.begin(), E = Previous.end();
6778 TypeSourceInfo *TInfo, LookupResult &Previous,
7267 Previous.getResultKind() != LookupResult::FoundOverloaded) &&
7392 Previous.getResultKind() != LookupResult::FoundOverloaded) &&
7633 LookupResult &Previous,
9495 LookupResult R(*this, II, D.getIdentifierLoc(), LookupOrdinaryName,
10829 LookupResult Previous(*this, Name, NameLoc, LookupTagName, Redecl);
10899 LookupResult::Filter F = Previous.makeFilter();
10919 LookupResult::Filter F = Previous.makeFilter();
11764 LookupResult Previous(*this, II, Loc, LookupMemberName, ForRedeclaration);
11767 case LookupResult::Found:
11768 case LookupResult::FoundUnresolvedValue:
11772 case LookupResult::FoundOverloaded:
11776 case LookupResult::NotFound:
11777 case LookupResult::NotFoundInCurrentInstantiation:
11778 case LookupResult::Ambiguous: