Lines Matching refs:Sema

91     Sema &SemaRef;
99 UnqualUsingDirectiveSet(Sema &SemaRef) : SemaRef(SemaRef) {} in UnqualUsingDirectiveSet()
207 static inline unsigned getIDNS(Sema::LookupNameKind NameKind, in getIDNS()
212 case Sema::LookupObjCImplicitSelfParam: in getIDNS()
213 case Sema::LookupOrdinaryName: in getIDNS()
214 case Sema::LookupRedeclarationWithLinkage: in getIDNS()
215 case Sema::LookupLocalFriendName: in getIDNS()
226 case Sema::LookupOperatorName: in getIDNS()
233 case Sema::LookupTagName: in getIDNS()
249 case Sema::LookupLabel: in getIDNS()
253 case Sema::LookupMemberName: in getIDNS()
259 case Sema::LookupNestedNameSpecifierName: in getIDNS()
263 case Sema::LookupNamespaceName: in getIDNS()
267 case Sema::LookupUsingDeclName: in getIDNS()
274 case Sema::LookupObjCProtocolName: in getIDNS()
278 case Sema::LookupOMPReductionName: in getIDNS()
282 case Sema::LookupAnyName: in getIDNS()
359 static bool isPreferredLookupResult(Sema &S, Sema::LookupNameKind Kind, in isPreferredLookupResult()
363 if (Kind == Sema::LookupUsingDeclName && isa<UsingShadowDecl>(D) && in isPreferredLookupResult()
379 bool WantTag = Kind == Sema::LookupTagName; in isPreferredLookupResult()
672 static bool LookupBuiltin(Sema &S, LookupResult &R) { in LookupBuiltin()
673 Sema::LookupNameKind NameKind = R.getLookupKind(); in LookupBuiltin()
678 if (NameKind == Sema::LookupOrdinaryName || in LookupBuiltin()
679 NameKind == Sema::LookupRedeclarationWithLinkage) { in LookupBuiltin()
682 if (S.getLangOpts().CPlusPlus && NameKind == Sema::LookupOrdinaryName) { in LookupBuiltin()
725 void Sema::ForceDeclarationOfImplicitMembers(CXXRecordDecl *Class) { in ForceDeclarationOfImplicitMembers()
776 static void DeclareImplicitMemberFunctionsWithName(Sema &S, in DeclareImplicitMemberFunctionsWithName()
832 static bool LookupDirect(Sema &S, LookupResult &R, const DeclContext *DC) { in LookupDirect()
923 == Sema::TDK_Success) { in LookupDirect()
934 CppNamespaceLookup(Sema &S, LookupResult &R, ASTContext &Context, in CppNamespaceLookup()
1049 bool Sema::CppLookupName(LookupResult &R, Scope *S) { in CppLookupName()
1053 Sema::LookupNameKind NameKind = R.getLookupKind(); in CppLookupName()
1341 void Sema::makeMergedDefinitionVisible(NamedDecl *ND) { in makeMergedDefinitionVisible()
1356 static Module *getDefiningModule(Sema &S, Decl *Entity) { in getDefiningModule()
1381 llvm::DenseSet<Module*> &Sema::getLookupModules() { in getLookupModules()
1402 bool Sema::hasVisibleMergedDefinition(NamedDecl *Def) { in hasVisibleMergedDefinition()
1409 bool Sema::hasMergedDefinitionInCurrentModule(NamedDecl *Def) { in hasMergedDefinitionInCurrentModule()
1418 hasVisibleDefaultArgument(Sema &S, const ParmDecl *D, in hasVisibleDefaultArgument()
1439 bool Sema::hasVisibleDefaultArgument(const NamedDecl *D, in hasVisibleDefaultArgument()
1450 static bool hasVisibleDeclarationImpl(Sema &S, const NamedDecl *D, in hasVisibleDeclarationImpl()
1476 bool Sema::hasVisibleExplicitSpecialization( in hasVisibleExplicitSpecialization()
1489 bool Sema::hasVisibleMemberSpecialization( in hasVisibleMemberSpecialization()
1513 bool LookupResult::isVisibleSlow(Sema &SemaRef, NamedDecl *D) { in isVisibleSlow()
1574 bool Sema::isModuleVisible(const Module *M, bool ModulePrivate) { in isModuleVisible()
1608 bool Sema::isVisibleSlow(const NamedDecl *D) { in isVisibleSlow()
1612 bool Sema::shouldLinkPossiblyHiddenDecl(LookupResult &R, const NamedDecl *New) { in shouldLinkPossiblyHiddenDecl()
1656 static NamedDecl *findAcceptableDecl(Sema &SemaRef, NamedDecl *D, in findAcceptableDecl()
1677 bool Sema::hasVisibleDeclarationSlow(const NamedDecl *D, in hasVisibleDeclarationSlow()
1734 bool Sema::LookupName(LookupResult &R, Scope *S, bool AllowBuiltinCreation) { in LookupName()
1743 if (NameKind == Sema::LookupRedeclarationWithLinkage) { in LookupName()
1871 static bool LookupQualifiedNameInUsingDirectives(Sema &S, LookupResult &R, in LookupQualifiedNameInUsingDirectives()
2013 bool Sema::LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx, in LookupQualifiedName()
2230 bool Sema::LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx, in LookupQualifiedName()
2259 bool Sema::LookupParsedName(LookupResult &R, Scope *S, CXXScopeSpec *SS, in LookupParsedName()
2303 bool Sema::LookupInSuper(LookupResult &R, CXXRecordDecl *Class) { in LookupInSuper()
2336 void Sema::DiagnoseAmbiguousLookup(LookupResult &Result) { in DiagnoseAmbiguousLookup()
2413 AssociatedLookup(Sema &S, SourceLocation InstantiationLoc, in AssociatedLookup()
2414 Sema::AssociatedNamespaceSet &Namespaces, in AssociatedLookup()
2415 Sema::AssociatedClassSet &Classes) in AssociatedLookup()
2420 Sema &S;
2421 Sema::AssociatedNamespaceSet &Namespaces;
2422 Sema::AssociatedClassSet &Classes;
2430 static void CollectEnclosingNamespace(Sema::AssociatedNamespaceSet &Namespaces, in CollectEnclosingNamespace()
2764 void Sema::FindAssociatedClassesAndNamespaces( in FindAssociatedClassesAndNamespaces()
2815 NamedDecl *Sema::LookupSingleName(Scope *S, DeclarationName Name, in LookupSingleName()
2825 ObjCProtocolDecl *Sema::LookupProtocol(IdentifierInfo *II, in LookupProtocol()
2833 void Sema::LookupOverloadedOperatorName(OverloadedOperatorKind Op, Scope *S, in LookupOverloadedOperatorName()
2850 Sema::SpecialMemberOverloadResult Sema::LookupSpecialMember(CXXRecordDecl *RD, in LookupSpecialMember()
3052 CXXConstructorDecl *Sema::LookupDefaultConstructor(CXXRecordDecl *Class) { in LookupDefaultConstructor()
3061 CXXConstructorDecl *Sema::LookupCopyingConstructor(CXXRecordDecl *Class, in LookupCopyingConstructor()
3073 CXXConstructorDecl *Sema::LookupMovingConstructor(CXXRecordDecl *Class, in LookupMovingConstructor()
3083 DeclContext::lookup_result Sema::LookupConstructors(CXXRecordDecl *Class) { in LookupConstructors()
3100 CXXMethodDecl *Sema::LookupCopyingAssignment(CXXRecordDecl *Class, in LookupCopyingAssignment()
3117 CXXMethodDecl *Sema::LookupMovingAssignment(CXXRecordDecl *Class, in LookupMovingAssignment()
3138 CXXDestructorDecl *Sema::LookupDestructor(CXXRecordDecl *Class) { in LookupDestructor()
3150 Sema::LiteralOperatorLookupResult
3151 Sema::LookupLiteralOperator(Scope *S, LookupResult &R, in LookupLiteralOperator()
3297 void Sema::ArgumentDependentLookup(DeclarationName Name, SourceLocation Loc, in ArgumentDependentLookup()
3714 Result.getNameLoc(), Sema::LookupMemberName); in LookupVisibleDecls()
3767 void Sema::LookupVisibleDecls(Scope *S, LookupNameKind Kind, in LookupVisibleDecls()
3793 void Sema::LookupVisibleDecls(DeclContext *Ctx, LookupNameKind Kind, in LookupVisibleDecls()
3812 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc, in LookupOrCreateLabel()
3851 static void LookupPotentialTypoResult(Sema &SemaRef,
3863 static void checkCorrectionVisibility(Sema &SemaRef, TypoCorrection &TC) { in checkCorrectionVisibility()
4207 TRD.getPair()) == Sema::AR_accessible) in performQualifiedLookups()
4347 static void LookupPotentialTypoResult(Sema &SemaRef, in LookupPotentialTypoResult()
4401 static void AddKeywordsToConsumer(Sema &SemaRef, in AddKeywordsToConsumer()
4552 std::unique_ptr<TypoCorrectionConsumer> Sema::makeTypoCorrectionConsumer( in makeTypoCorrectionConsumer()
4553 const DeclarationNameInfo &TypoName, Sema::LookupNameKind LookupKind, in makeTypoCorrectionConsumer()
4722 TypoCorrection Sema::CorrectTypo(const DeclarationNameInfo &TypoName, in CorrectTypo()
4723 Sema::LookupNameKind LookupKind, in CorrectTypo()
4858 TypoExpr *Sema::CorrectTypoDelayed( in CorrectTypoDelayed()
4859 const DeclarationNameInfo &TypoName, Sema::LookupNameKind LookupKind, in CorrectTypoDelayed()
4951 FunctionCallFilterCCC::FunctionCallFilterCCC(Sema &SemaRef, unsigned NumArgs, in FunctionCallFilterCCC()
5014 void Sema::diagnoseTypo(const TypoCorrection &Correction, in diagnoseTypo()
5039 void Sema::diagnoseMissingImport(SourceLocation Loc, NamedDecl *Decl, in diagnoseMissingImport()
5069 void Sema::diagnoseMissingImport(SourceLocation UseLoc, NamedDecl *Decl, in diagnoseMissingImport()
5150 void Sema::diagnoseTypo(const TypoCorrection &Correction, in diagnoseTypo()
5183 TypoExpr *Sema::createDelayedTypo(std::unique_ptr<TypoCorrectionConsumer> TCC, in createDelayedTypo()
5195 const Sema::TypoExprState &Sema::getTypoExprState(TypoExpr *TE) const { in getTypoExprState()
5202 void Sema::clearDelayedTypo(TypoExpr *TE) { in clearDelayedTypo()
5206 void Sema::ActOnPragmaDump(Scope *S, SourceLocation IILoc, IdentifierInfo *II) { in ActOnPragmaDump()
5208 LookupResult R(*this, Name, LookupAnyName, Sema::NotForRedeclaration); in ActOnPragmaDump()