Lines Matching refs:Sema
83 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { in getLocForEndOfToken()
87 ModuleLoader &Sema::getModuleLoader() const { return PP.getModuleLoader(); } in getModuleLoader()
90 Sema::getDarwinSDKInfoForAvailabilityChecking(SourceLocation Loc, in getDarwinSDKInfoForAvailabilityChecking()
101 DarwinSDKInfo *Sema::getDarwinSDKInfoForAvailabilityChecking() { in getDarwinSDKInfoForAvailabilityChecking()
117 IdentifierInfo *Sema::InventAbbreviatedTemplateParameterTypeName( in InventAbbreviatedTemplateParameterTypeName()
131 PrintingPolicy Sema::getPrintingPolicy(const ASTContext &Context, in getPrintingPolicy()
151 void Sema::ActOnTranslationUnitScope(Scope *S) { in ActOnTranslationUnitScope()
160 Sema *S = nullptr;
165 void set(Sema &S) { this->S = &S; } in set()
187 Sema::PragmaAlignPackDiagnoseKind::NonDefaultStateAtInclude, in FileChanged()
198 Sema::PragmaAlignPackDiagnoseKind::ChangedStateAtExit, in FileChanged()
211 const unsigned Sema::MaxAlignmentExponent;
212 const uint64_t Sema::MaximumAlignment;
214 Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer, in Sema() function in Sema
304 void Sema::anchor() {} in anchor()
306 void Sema::addImplicitTypedef(StringRef Name, QualType T) { in addImplicitTypedef()
312 void Sema::Initialize() { in Initialize()
521 Sema::~Sema() { in ~Sema()
558 void Sema::warnStackExhausted(SourceLocation Loc) { in warnStackExhausted()
566 void Sema::runWithSufficientStackSpace(SourceLocation Loc, in runWithSufficientStackSpace()
571 bool Sema::makeUnavailableInSystemHeader(SourceLocation loc, in makeUnavailableInSystemHeader()
592 ASTMutationListener *Sema::getASTMutationListener() const { in getASTMutationListener()
596 void Sema::addExternalSource(ExternalSemaSource *E) { in addExternalSource()
610 void Sema::PrintStats() const { in PrintStats()
618 void Sema::diagnoseNullableToNonnullConversion(QualType DstType, in diagnoseNullableToNonnullConversion()
634 void Sema::diagnoseFunctionEffectConversion(QualType DstType, QualType SrcType, in diagnoseFunctionEffectConversion()
646 void Sema::diagnoseZeroToNullptrConversion(CastKind Kind, const Expr *E) { in diagnoseZeroToNullptrConversion()
694 ExprResult Sema::ImpCastExprToType(Expr *E, QualType Ty, in ImpCastExprToType()
777 CastKind Sema::ScalarTypeToBooleanCastKind(QualType ScalarTy) { in ScalarTypeToBooleanCastKind()
794 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) { in ShouldRemoveFromUnused()
863 bool Sema::isExternalWithNoLinkageType(const ValueDecl *VD) const { in isExternalWithNoLinkageType()
874 void Sema::getUndefinedButUsed( in getUndefinedButUsed()
927 static void checkUndefinedButUsed(Sema &S) { in checkUndefinedButUsed()
989 void Sema::LoadExternalWeakUndeclaredIdentifiers() { in LoadExternalWeakUndeclaredIdentifiers()
1080 void Sema::emitAndClearUnusedLocalTypedefWarnings() { in emitAndClearUnusedLocalTypedefWarnings()
1093 void Sema::ActOnStartOfTranslationUnit() { in ActOnStartOfTranslationUnit()
1099 void Sema::ActOnEndOfTranslationUnitFragment(TUFragmentKind Kind) { in ActOnEndOfTranslationUnitFragment()
1164 void Sema::ActOnEndOfTranslationUnit() { in ActOnEndOfTranslationUnit()
1527 DeclContext *Sema::getFunctionLevelDeclContext(bool AllowLambda) const { in getFunctionLevelDeclContext()
1547 FunctionDecl *Sema::getCurFunctionDecl(bool AllowLambda) const { in getCurFunctionDecl()
1552 ObjCMethodDecl *Sema::getCurMethodDecl() { in getCurMethodDecl()
1559 NamedDecl *Sema::getCurFunctionOrMethodDecl() const { in getCurFunctionOrMethodDecl()
1566 LangAS Sema::getDefaultCXXMethodAddrSpace() const { in getDefaultCXXMethodAddrSpace()
1572 void Sema::EmitCurrentDiagnostic(unsigned DiagID) { in EmitCurrentDiagnostic()
1670 bool Sema::hasUncompilableErrorOccurred() const { in hasUncompilableErrorOccurred()
1688 static void emitCallStackNotes(Sema &S, const FunctionDecl *FD) { in emitCallStackNotes()
1755 DeferredDiagnosticsEmitter(Sema &S) in DeferredDiagnosticsEmitter()
1823 Sema::FunctionEmissionStatus::Emitted; in checkRecordedDecl()
1860 void Sema::emitDeferredDiags() { in emitDeferredDiags()
1898 Sema::SemaDiagnosticBuilder::SemaDiagnosticBuilder(Kind K, SourceLocation Loc, in SemaDiagnosticBuilder()
1901 Sema &S) in SemaDiagnosticBuilder()
1921 Sema::SemaDiagnosticBuilder::SemaDiagnosticBuilder(SemaDiagnosticBuilder &&D) in SemaDiagnosticBuilder()
1931 Sema::SemaDiagnosticBuilder::~SemaDiagnosticBuilder() { in ~SemaDiagnosticBuilder()
1946 Sema::SemaDiagnosticBuilder
1947 Sema::targetDiag(SourceLocation Loc, unsigned DiagID, const FunctionDecl *FD) { in targetDiag()
1964 void Sema::checkTypeSupport(QualType Ty, SourceLocation Loc, ValueDecl *D) { in checkTypeSupport()
2128 bool Sema::findMacroSpelling(SourceLocation &locref, StringRef name) { in findMacroSpelling()
2145 Scope *Sema::getScopeForContext(DeclContext *Ctx) { in getScopeForContext()
2164 void Sema::PushFunctionScope() { in PushFunctionScope()
2176 void Sema::PushBlockScope(Scope *BlockScope, BlockDecl *Block) { in PushBlockScope()
2182 LambdaScopeInfo *Sema::PushLambdaScope() { in PushLambdaScope()
2189 void Sema::RecordParsingTemplateParameterDepth(unsigned Depth) { in RecordParsingTemplateParameterDepth()
2203 static void checkEscapingByref(VarDecl *VD, Sema &S) { in checkEscapingByref()
2206 S, Sema::ExpressionEvaluationContext::PotentiallyEvaluated); in checkEscapingByref()
2218 IE, Sema::NamedReturnInfo{VD, Sema::NamedReturnInfo::MoveEligible}, in checkEscapingByref()
2237 static void markEscapingByrefs(const FunctionScopeInfo &FSI, Sema &S) { in markEscapingByrefs()
2257 Sema::NTCUC_BlockCapture, in markEscapingByrefs()
2258 Sema::NTCUK_Destruct|Sema::NTCUK_Copy); in markEscapingByrefs()
2275 Sema::PoppedFunctionScopePtr
2276 Sema::PopFunctionScopeInfo(const AnalysisBasedWarnings::Policy *WP, in PopFunctionScopeInfo()
2298 void Sema::PoppedFunctionScopeDeleter::
2309 void Sema::PushCompoundScope(bool IsStmtExpr) { in PushCompoundScope()
2314 void Sema::PopCompoundScope() { in PopCompoundScope()
2321 bool Sema::hasAnyUnrecoverableErrorsInThisFunction() const { in hasAnyUnrecoverableErrorsInThisFunction()
2325 void Sema::setFunctionHasBranchIntoScope() { in setFunctionHasBranchIntoScope()
2330 void Sema::setFunctionHasBranchProtectedScope() { in setFunctionHasBranchProtectedScope()
2335 void Sema::setFunctionHasIndirectGoto() { in setFunctionHasIndirectGoto()
2340 void Sema::setFunctionHasMustTail() { in setFunctionHasMustTail()
2345 BlockScopeInfo *Sema::getCurBlock() { in getCurBlock()
2360 FunctionScopeInfo *Sema::getEnclosingFunction() const { in getEnclosingFunction()
2372 LambdaScopeInfo *Sema::getEnclosingLambda() const { in getEnclosingLambda()
2389 LambdaScopeInfo *Sema::getCurLambda(bool IgnoreNonLambdaCapturingScope) { in getCurLambda()
2414 LambdaScopeInfo *Sema::getCurGenericLambda() { in getCurGenericLambda()
2423 void Sema::ActOnComment(SourceRange Comment) { in ActOnComment()
2471 bool Sema::tryExprAsCall(Expr &E, QualType &ZeroArgCallReturnTy, in tryExprAsCall()
2529 Sema::TentativeAnalysisScope Trap(*this); in tryExprAsCall()
2577 static void noteOverloads(Sema &S, const UnresolvedSetImpl &Overloads, in noteOverloads()
2609 static void notePlausibleOverloads(Sema &S, SourceLocation Loc, in notePlausibleOverloads()
2653 bool Sema::tryToRecoverWithCall(ExprResult &E, const PartialDiagnostic &PD, in tryToRecoverWithCall()
2698 IdentifierInfo *Sema::getSuperIdentifier() const { in getSuperIdentifier()
2704 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
2718 CapturedRegionScopeInfo *Sema::getCurCapturedRegion() { in getCurCapturedRegion()
2725 const llvm::MapVector<FieldDecl *, Sema::DeleteLocs> &
2726 Sema::getMismatchingDeleteExpressions() const { in getMismatchingDeleteExpressions()
2730 Sema::FPFeaturesStateRAII::FPFeaturesStateRAII(Sema &S) in FPFeaturesStateRAII()
2736 Sema::FPFeaturesStateRAII::~FPFeaturesStateRAII() { in ~FPFeaturesStateRAII()
2742 bool Sema::isDeclaratorFunctionLike(Declarator &D) { in isDeclaratorFunctionLike()