Home
last modified time | relevance | path

Searched refs:LookupResult (Results 1 – 25 of 54) sorted by relevance

123

/external/clang/include/clang/Sema/
DLookup.h30 class LookupResult {
129 LookupResult(Sema &SemaRef, const DeclarationNameInfo &NameInfo,
151 LookupResult(Sema &SemaRef, DeclarationName Name,
173 LookupResult(TemporaryToken _, const LookupResult &Other) in LookupResult() function
188 ~LookupResult() { in ~LookupResult()
380 void addAllDecls(const LookupResult &Other) { in addAllDecls()
557 LookupResult &Results;
558 LookupResult::iterator I;
562 friend class LookupResult; variable
563 Filter(LookupResult &Results) in Filter()
DExternalSemaSource.h33 class LookupResult; variable
94 virtual bool LookupUnqualified(LookupResult &R, Scope *S) { return false; } in LookupUnqualified()
DMultiplexExternalSemaSource.h27 class LookupResult; variable
228 bool LookupUnqualified(LookupResult &R, Scope *S) override;
DSema.h127 class LookupResult; variable
283 bool shouldLinkPossiblyHiddenDecl(LookupResult &Old, const NamedDecl *New);
1650 void CheckShadow(Scope *S, VarDecl *D, const LookupResult& R);
1659 LookupResult &Previous);
1661 LookupResult &Previous, bool &Redeclaration);
1664 LookupResult &Previous,
1668 bool CheckVariableDeclaration(VarDecl *NewVD, LookupResult &Previous);
1675 LookupResult &Previous,
1690 FunctionDecl *NewFD, LookupResult &Previous,
2147 LookupResult &OldDecls);
[all …]
DSemaInternal.h214 const LookupResult &getLookupResult() const { return Result; } in getLookupResult()
323 LookupResult Result;
/external/clang/include/clang/Basic/
DFileSystemStatCache.h56 enum LookupResult { enum
95 virtual LookupResult getStat(const char *Path, FileData &Data, bool isFile,
99 LookupResult statChained(const char *Path, FileData &Data, bool isFile, in statChained()
124 LookupResult getStat(const char *Path, FileData &Data, bool isFile,
/external/clang/lib/Sema/
DSemaLookup.cpp292 void LookupResult::configure() { in configure()
321 bool LookupResult::sanity() const { in sanity()
339 void LookupResult::deletePaths(CXXBasePaths *Paths) { in deletePaths()
459 void LookupResult::resolveKind() { in resolveKind()
609 setAmbiguous(LookupResult::AmbiguousReference); in resolveKind()
611 ResultKind = LookupResult::FoundUnresolvedValue; in resolveKind()
613 ResultKind = LookupResult::FoundOverloaded; in resolveKind()
615 ResultKind = LookupResult::Found; in resolveKind()
618 void LookupResult::addDeclsFromBasePaths(const CXXBasePaths &P) { in addDeclsFromBasePaths()
626 void LookupResult::setAmbiguousBaseSubobjects(CXXBasePaths &P) { in setAmbiguousBaseSubobjects()
[all …]
DSemaTemplateVariadic.cpp833 LookupResult R(*this, &Name, NameLoc, LookupOrdinaryName); in ActOnSizeofParameterPackExpr()
838 case LookupResult::Found: in ActOnSizeofParameterPackExpr()
842 case LookupResult::NotFound: in ActOnSizeofParameterPackExpr()
843 case LookupResult::NotFoundInCurrentInstantiation: in ActOnSizeofParameterPackExpr()
854 case LookupResult::FoundOverloaded: in ActOnSizeofParameterPackExpr()
855 case LookupResult::FoundUnresolvedValue: in ActOnSizeofParameterPackExpr()
858 case LookupResult::Ambiguous: in ActOnSizeofParameterPackExpr()
DSemaExprMember.cpp90 const LookupResult &R) { in ClassifyImplicitMemberAccess()
236 LookupResult &R, in BuildPossibleImplicitMemberExpr()
515 const LookupResult &R) { in CheckQualifiedMemberReference()
525 for (LookupResult::iterator I = R.begin(), E = R.end(); I != E; ++I) { in CheckQualifiedMemberReference()
600 static bool LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, in LookupMemberExprInRecord()
680 LookupResult R(Q.SemaRef, Q.NameInfo, Q.LookupKind, Q.Redecl); in LookupMemberExprInRecord()
696 static ExprResult LookupMemberExpr(Sema &S, LookupResult &R,
718 LookupResult R(*this, NameInfo, LookupMemberName); in BuildMemberReferenceExpr()
926 LookupResult &R, in BuildMemberReferenceExpr()
1220 static ExprResult LookupMemberExpr(Sema &S, LookupResult &R, in LookupMemberExpr()
[all …]
DSemaCXXScopeSpec.cpp341 LookupResult Found(*this, NNS->getAsIdentifier(), SourceLocation(), in FindFirstQualifierInScope()
361 LookupResult Found(*this, &II, IdLoc, LookupNestedNameSpecifierName); in isNonTypeNestedNameSpecifier()
467 LookupResult Found(*this, &Identifier, IdentifierLoc, in BuildCXXNestedNameSpecifier()
560 LookupResult R(*this, Found.getLookupNameInfo(), LookupOrdinaryName); in BuildCXXNestedNameSpecifier()
640 LookupResult FoundOuter(*this, &Identifier, IdentifierLoc, in BuildCXXNestedNameSpecifier()
DSemaDecl.cpp294 LookupResult Result(*this, &II, NameLoc, Kind); in getTypeName()
326 case LookupResult::NotFound: in getTypeName()
327 case LookupResult::NotFoundInCurrentInstantiation: in getTypeName()
367 case LookupResult::FoundOverloaded: in getTypeName()
368 case LookupResult::FoundUnresolvedValue: in getTypeName()
372 case LookupResult::Ambiguous: in getTypeName()
378 if (Result.getAmbiguityKind() == LookupResult::AmbiguousTagHiding) { in getTypeName()
384 for (LookupResult::iterator Res = Result.begin(), ResEnd = Result.end(); in getTypeName()
411 case LookupResult::Found: in getTypeName()
508 LookupResult R(*this, &II, SourceLocation(), LookupTagName); in isTagName()
[all …]
DSemaStmtAsm.cpp623 LookupResult BaseResult(*this, &Context.Idents.get(Base), SourceLocation(), in LookupInlineAsmField()
629 LookupResult CurrBaseResult(BaseResult); in LookupInlineAsmField()
654 LookupResult FieldResult(*this, &Context.Idents.get(NextMember), in LookupInlineAsmField()
687 LookupResult FieldResult(*this, &Context.Idents.get(Member), AsmLoc, in LookupInlineAsmVarDeclField()
DSemaExprCXX.cpp186 LookupResult Found(*this, &II, NameLoc, LookupOrdinaryName); in getDestructorName()
474 LookupResult R(*this, TypeInfoII, SourceLocation(), LookupTagName); in ActOnCXXTypeid()
558 LookupResult R(*this, GuidII, SourceLocation(), LookupTagName); in ActOnCXXUuidof()
1105 LookupResult ops(S, deleteName, loc, Sema::LookupOrdinaryName); in doesUsualArrayDeleteWantSize()
1118 LookupResult::Filter filter = ops.makeFilter(); in doesUsualArrayDeleteWantSize()
1808 LookupResult FoundDelete(*this, DeleteName, StartLoc, LookupOrdinaryName); in FindAllocationFunctions()
1863 for (LookupResult::iterator D = FoundDelete.begin(), in FindAllocationFunctions()
1885 for (LookupResult::iterator D = FoundDelete.begin(), in FindAllocationFunctions()
1964 LookupResult R(*this, Name, StartLoc, LookupOrdinaryName); in FindAllocationOverload()
1979 for (LookupResult::iterator Alloc = R.begin(), AllocEnd = R.end(); in FindAllocationOverload()
[all …]
DSemaTemplate.cpp89 void Sema::FilterAcceptableTemplateNames(LookupResult &R, in FilterAcceptableTemplateNames()
93 LookupResult::Filter filter = R.makeFilter(); in FilterAcceptableTemplateNames()
127 bool Sema::hasAnyAcceptableTemplateNames(LookupResult &R, in hasAnyAcceptableTemplateNames()
129 for (LookupResult::iterator I = R.begin(), IEnd = R.end(); I != IEnd; ++I) in hasAnyAcceptableTemplateNames()
169 LookupResult R(*this, TName, Name.getLocStart(), LookupOrdinaryName); in isTemplateName()
248 void Sema::LookupTemplateName(LookupResult &Found, in LookupTemplateName()
367 LookupResult FoundOuter(*this, Found.getLookupName(), Found.getNameLoc(), in LookupTemplateName()
865 LookupResult Previous(*this, Name, NameLoc, in CheckClassTemplate()
2689 LookupResult PrevSpec(*this, GetNameForDeclarator(D), LookupOrdinaryName, in ActOnVarTemplateSpecialization()
2892 LookupResult &R, in BuildTemplateIdExpr()
[all …]
DSemaDeclCXX.cpp455 if (!LookupResult::isVisible(*this, PrevForDefaultArgs)) in MergeCXXFunctionDecl()
2911 LookupResult R(*this, MemberOrBase, IdLoc, LookupOrdinaryName); in BuildMemInitializer()
3485 LookupResult MemberLookup(SemaRef, Field->getDeclName(), Loc, in BuildImplicitMemberInitializer()
7197 LookupResult R(*this, II, IdentLoc, LookupOrdinaryName, ForRedeclaration); in ActOnStartNamespaceDef()
7424 LookupResult Result(S, &S.PP.getIdentifierTable().get("initializer_list"), in LookupStdInitializerList()
7510 static bool TryNamespaceTypoCorrection(Sema &S, LookupResult &R, Scope *Sc, in TryNamespaceTypoCorrection()
7560 LookupResult R(*this, NamespcName, IdentLoc, LookupNamespaceName); in ActOnUsingDirective()
7728 const LookupResult &Previous, in CheckUsingShadowDecl()
7790 for (LookupResult::iterator I = Previous.begin(), E = Previous.end(); in CheckUsingShadowDecl()
8054 LookupResult Previous(*this, NameInfo, LookupUsingDeclName, in BuildUsingDeclaration()
[all …]
DSemaCoroutine.cpp35 LookupResult Result(S, &S.PP.getIdentifierTable().get("coroutine_traits"), in lookupPromiseType()
75 LookupResult R(S, &S.PP.getIdentifierTable().get("promise_type"), Loc, in lookupPromiseType()
/external/clang/lib/Basic/
DFileSystemStatCache.cpp46 LookupResult R; in get()
109 MemorizeStatCalls::LookupResult
112 LookupResult Result = statChained(Path, Data, isFile, F, FS); in getStat()
/external/v8/test/mjsunit/tools/
Dtickprocessor-test.ignore-unknown14 …:internal::JSObject::LookupOwnRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)
28 …:internal::JSObject::LookupOwnRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)
50 …:internal::JSObject::LookupOwnRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)
Dtickprocessor-test.default14 …:internal::JSObject::LookupOwnRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)
29 …:internal::JSObject::LookupOwnRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)
51 …:internal::JSObject::LookupOwnRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)
Dtickprocessor-test.separate-ic16 …:internal::JSObject::LookupOwnRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)
31 …:internal::JSObject::LookupOwnRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)
53 …:internal::JSObject::LookupOwnRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)
/external/clang/lib/Frontend/
DChainedIncludesSource.cpp72 bool LookupUnqualified(LookupResult &R, Scope *S) override;
295 bool ChainedIncludesSource::LookupUnqualified(LookupResult &R, Scope *S) { in LookupUnqualified()
DCacheTokens.cpp553 LookupResult getStat(const char *Path, FileData &Data, bool isFile, in getStat()
556 LookupResult Result = statChained(Path, Data, isFile, F, FS); in getStat()
/external/v8/src/
Dcontexts.cc41 Handle<String> name, LookupResult* result) { in Lookup()
257 ScriptContextTable::LookupResult r; in Lookup()
Dcontexts.h300 struct LookupResult { struct
320 LookupResult* result); argument
/external/clang/unittests/Basic/
DFileManagerTest.cpp55 LookupResult getStat(const char *Path, FileData &Data, bool isFile, in getStat()

123