Lines Matching refs:Sema

55 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) {  in getLocForEndOfToken()
59 ModuleLoader &Sema::getModuleLoader() const { return PP.getModuleLoader(); } in getModuleLoader()
62 Sema::getDarwinSDKInfoForAvailabilityChecking(SourceLocation Loc, in getDarwinSDKInfoForAvailabilityChecking()
73 DarwinSDKInfo *Sema::getDarwinSDKInfoForAvailabilityChecking() { in getDarwinSDKInfoForAvailabilityChecking()
90 Sema::InventAbbreviatedTemplateParameterTypeName(IdentifierInfo *ParamName, in InventAbbreviatedTemplateParameterTypeName()
104 PrintingPolicy Sema::getPrintingPolicy(const ASTContext &Context, in getPrintingPolicy()
124 void Sema::ActOnTranslationUnitScope(Scope *S) { in ActOnTranslationUnitScope()
133 Sema *S = nullptr;
137 void set(Sema &S) { this->S = &S; } in set()
159 Sema::PragmaAlignPackDiagnoseKind::NonDefaultStateAtInclude, in FileChanged()
170 Sema::PragmaAlignPackDiagnoseKind::ChangedStateAtExit, in FileChanged()
183 const unsigned Sema::MaxAlignmentExponent;
184 const uint64_t Sema::MaximumAlignment;
186 Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer, in Sema() function in Sema
258 void Sema::anchor() {} in anchor()
260 void Sema::addImplicitTypedef(StringRef Name, QualType T) { in addImplicitTypedef()
266 void Sema::Initialize() { in Initialize()
457 Sema::~Sema() { in ~Sema()
498 void Sema::warnStackExhausted(SourceLocation Loc) { in warnStackExhausted()
506 void Sema::runWithSufficientStackSpace(SourceLocation Loc, in runWithSufficientStackSpace()
515 bool Sema::makeUnavailableInSystemHeader(SourceLocation loc, in makeUnavailableInSystemHeader()
536 ASTMutationListener *Sema::getASTMutationListener() const { in getASTMutationListener()
545 void Sema::addExternalSource(ExternalSemaSource *E) { in addExternalSource()
562 void Sema::PrintStats() const { in PrintStats()
570 void Sema::diagnoseNullableToNonnullConversion(QualType DstType, in diagnoseNullableToNonnullConversion()
585 void Sema::diagnoseZeroToNullptrConversion(CastKind Kind, const Expr* E) { in diagnoseZeroToNullptrConversion()
620 ExprResult Sema::ImpCastExprToType(Expr *E, QualType Ty, in ImpCastExprToType()
701 CastKind Sema::ScalarTypeToBooleanCastKind(QualType ScalarTy) { in ScalarTypeToBooleanCastKind()
718 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) { in ShouldRemoveFromUnused()
787 bool Sema::isExternalWithNoLinkageType(ValueDecl *VD) { in isExternalWithNoLinkageType()
798 void Sema::getUndefinedButUsed( in getUndefinedButUsed()
851 static void checkUndefinedButUsed(Sema &S) { in checkUndefinedButUsed()
914 void Sema::LoadExternalWeakUndeclaredIdentifiers() { in LoadExternalWeakUndeclaredIdentifiers()
1005 void Sema::emitAndClearUnusedLocalTypedefWarnings() { in emitAndClearUnusedLocalTypedefWarnings()
1021 void Sema::ActOnStartOfTranslationUnit() { in ActOnStartOfTranslationUnit()
1037 void Sema::ActOnEndOfTranslationUnitFragment(TUFragmentKind Kind) { in ActOnEndOfTranslationUnitFragment()
1105 void Sema::ActOnEndOfTranslationUnit() { in ActOnEndOfTranslationUnit()
1420 DeclContext *Sema::getFunctionLevelDeclContext(bool AllowLambda) { in getFunctionLevelDeclContext()
1440 FunctionDecl *Sema::getCurFunctionDecl(bool AllowLambda) { in getCurFunctionDecl()
1445 ObjCMethodDecl *Sema::getCurMethodDecl() { in getCurMethodDecl()
1452 NamedDecl *Sema::getCurFunctionOrMethodDecl() { in getCurFunctionOrMethodDecl()
1459 LangAS Sema::getDefaultCXXMethodAddrSpace() const { in getDefaultCXXMethodAddrSpace()
1465 void Sema::EmitCurrentDiagnostic(unsigned DiagID) { in EmitCurrentDiagnostic()
1563 Sema::SemaDiagnosticBuilder
1564 Sema::Diag(SourceLocation Loc, const PartialDiagnostic &PD, bool DeferHint) { in Diag()
1568 bool Sema::hasUncompilableErrorOccurred() const { in hasUncompilableErrorOccurred()
1586 static void emitCallStackNotes(Sema &S, FunctionDecl *FD) { in emitCallStackNotes()
1653 DeferredDiagnosticsEmitter(Sema &S) in DeferredDiagnosticsEmitter()
1721 Sema::FunctionEmissionStatus::Emitted; in checkRecordedDecl()
1758 void Sema::emitDeferredDiags() { in emitDeferredDiags()
1796 Sema::SemaDiagnosticBuilder::SemaDiagnosticBuilder(Kind K, SourceLocation Loc, in SemaDiagnosticBuilder()
1798 FunctionDecl *Fn, Sema &S) in SemaDiagnosticBuilder()
1818 Sema::SemaDiagnosticBuilder::SemaDiagnosticBuilder(SemaDiagnosticBuilder &&D) in SemaDiagnosticBuilder()
1828 Sema::SemaDiagnosticBuilder::~SemaDiagnosticBuilder() { in ~SemaDiagnosticBuilder()
1843 Sema::SemaDiagnosticBuilder
1844 Sema::targetDiag(SourceLocation Loc, unsigned DiagID, FunctionDecl *FD) { in targetDiag()
1860 Sema::SemaDiagnosticBuilder Sema::Diag(SourceLocation Loc, unsigned DiagID, in Diag()
1883 void Sema::checkTypeSupport(QualType Ty, SourceLocation Loc, ValueDecl *D) { in checkTypeSupport()
2027 bool Sema::findMacroSpelling(SourceLocation &locref, StringRef name) { in findMacroSpelling()
2055 Scope *Sema::getScopeForContext(DeclContext *Ctx) { in getScopeForContext()
2074 void Sema::PushFunctionScope() { in PushFunctionScope()
2086 void Sema::PushBlockScope(Scope *BlockScope, BlockDecl *Block) { in PushBlockScope()
2091 LambdaScopeInfo *Sema::PushLambdaScope() { in PushLambdaScope()
2097 void Sema::RecordParsingTemplateParameterDepth(unsigned Depth) { in RecordParsingTemplateParameterDepth()
2111 static void checkEscapingByref(VarDecl *VD, Sema &S) { in checkEscapingByref()
2114 S, Sema::ExpressionEvaluationContext::PotentiallyEvaluated); in checkEscapingByref()
2126 IE, Sema::NamedReturnInfo{VD, Sema::NamedReturnInfo::MoveEligible}, in checkEscapingByref()
2145 static void markEscapingByrefs(const FunctionScopeInfo &FSI, Sema &S) { in markEscapingByrefs()
2165 Sema::NTCUC_BlockCapture, in markEscapingByrefs()
2166 Sema::NTCUK_Destruct|Sema::NTCUK_Copy); in markEscapingByrefs()
2190 Sema::PoppedFunctionScopePtr
2191 Sema::PopFunctionScopeInfo(const AnalysisBasedWarnings::Policy *WP, in PopFunctionScopeInfo()
2213 void Sema::PoppedFunctionScopeDeleter::
2222 void Sema::PushCompoundScope(bool IsStmtExpr) { in PushCompoundScope()
2227 void Sema::PopCompoundScope() { in PopCompoundScope()
2236 bool Sema::hasAnyUnrecoverableErrorsInThisFunction() const { in hasAnyUnrecoverableErrorsInThisFunction()
2240 void Sema::setFunctionHasBranchIntoScope() { in setFunctionHasBranchIntoScope()
2245 void Sema::setFunctionHasBranchProtectedScope() { in setFunctionHasBranchProtectedScope()
2250 void Sema::setFunctionHasIndirectGoto() { in setFunctionHasIndirectGoto()
2255 void Sema::setFunctionHasMustTail() { in setFunctionHasMustTail()
2260 BlockScopeInfo *Sema::getCurBlock() { in getCurBlock()
2275 FunctionScopeInfo *Sema::getEnclosingFunction() const { in getEnclosingFunction()
2287 LambdaScopeInfo *Sema::getEnclosingLambda() const { in getEnclosingLambda()
2303 LambdaScopeInfo *Sema::getCurLambda(bool IgnoreNonLambdaCapturingScope) { in getCurLambda()
2328 LambdaScopeInfo *Sema::getCurGenericLambda() { in getCurGenericLambda()
2337 void Sema::ActOnComment(SourceRange Comment) { in ActOnComment()
2391 bool Sema::tryExprAsCall(Expr &E, QualType &ZeroArgCallReturnTy, in tryExprAsCall()
2449 Sema::TentativeAnalysisScope Trap(*this); in tryExprAsCall()
2498 static void noteOverloads(Sema &S, const UnresolvedSetImpl &Overloads, in noteOverloads()
2527 static void notePlausibleOverloads(Sema &S, SourceLocation Loc, in notePlausibleOverloads()
2571 bool Sema::tryToRecoverWithCall(ExprResult &E, const PartialDiagnostic &PD, in tryToRecoverWithCall()
2616 IdentifierInfo *Sema::getSuperIdentifier() const { in getSuperIdentifier()
2622 IdentifierInfo *Sema::getFloat128Identifier() const { in getFloat128Identifier()
2628 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
2639 CapturedRegionScopeInfo *Sema::getCurCapturedRegion() { in getCurCapturedRegion()
2646 const llvm::MapVector<FieldDecl *, Sema::DeleteLocs> &
2647 Sema::getMismatchingDeleteExpressions() const { in getMismatchingDeleteExpressions()
2651 Sema::FPFeaturesStateRAII::FPFeaturesStateRAII(Sema &S) in FPFeaturesStateRAII()
2657 Sema::FPFeaturesStateRAII::~FPFeaturesStateRAII() { in ~FPFeaturesStateRAII()