Lines Matching refs:Sema

57 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) {  in getLocForEndOfToken()
61 ModuleLoader &Sema::getModuleLoader() const { return PP.getModuleLoader(); } in getModuleLoader()
64 Sema::getDarwinSDKInfoForAvailabilityChecking(SourceLocation Loc, in getDarwinSDKInfoForAvailabilityChecking()
75 DarwinSDKInfo *Sema::getDarwinSDKInfoForAvailabilityChecking() { in getDarwinSDKInfoForAvailabilityChecking()
92 Sema::InventAbbreviatedTemplateParameterTypeName(IdentifierInfo *ParamName, in InventAbbreviatedTemplateParameterTypeName()
106 PrintingPolicy Sema::getPrintingPolicy(const ASTContext &Context, in getPrintingPolicy()
126 void Sema::ActOnTranslationUnitScope(Scope *S) { in ActOnTranslationUnitScope()
135 Sema *S = nullptr;
139 void set(Sema &S) { this->S = &S; } in set()
161 Sema::PragmaAlignPackDiagnoseKind::NonDefaultStateAtInclude, in FileChanged()
172 Sema::PragmaAlignPackDiagnoseKind::ChangedStateAtExit, in FileChanged()
185 const unsigned Sema::MaxAlignmentExponent;
186 const uint64_t Sema::MaximumAlignment;
188 Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer, in Sema() function in Sema
259 void Sema::anchor() {} in anchor()
261 void Sema::addImplicitTypedef(StringRef Name, QualType T) { in addImplicitTypedef()
267 void Sema::Initialize() { in Initialize()
458 Sema::~Sema() { in ~Sema()
495 void Sema::warnStackExhausted(SourceLocation Loc) { in warnStackExhausted()
503 void Sema::runWithSufficientStackSpace(SourceLocation Loc, in runWithSufficientStackSpace()
512 bool Sema::makeUnavailableInSystemHeader(SourceLocation loc, in makeUnavailableInSystemHeader()
533 ASTMutationListener *Sema::getASTMutationListener() const { in getASTMutationListener()
542 void Sema::addExternalSource(ExternalSemaSource *E) { in addExternalSource()
557 void Sema::PrintStats() const { in PrintStats()
565 void Sema::diagnoseNullableToNonnullConversion(QualType DstType, in diagnoseNullableToNonnullConversion()
580 void Sema::diagnoseZeroToNullptrConversion(CastKind Kind, const Expr *E) { in diagnoseZeroToNullptrConversion()
622 ExprResult Sema::ImpCastExprToType(Expr *E, QualType Ty, in ImpCastExprToType()
703 CastKind Sema::ScalarTypeToBooleanCastKind(QualType ScalarTy) { in ScalarTypeToBooleanCastKind()
720 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) { in ShouldRemoveFromUnused()
789 bool Sema::isExternalWithNoLinkageType(ValueDecl *VD) { in isExternalWithNoLinkageType()
800 void Sema::getUndefinedButUsed( in getUndefinedButUsed()
853 static void checkUndefinedButUsed(Sema &S) { in checkUndefinedButUsed()
916 void Sema::LoadExternalWeakUndeclaredIdentifiers() { in LoadExternalWeakUndeclaredIdentifiers()
1007 void Sema::emitAndClearUnusedLocalTypedefWarnings() { in emitAndClearUnusedLocalTypedefWarnings()
1023 void Sema::ActOnStartOfTranslationUnit() { in ActOnStartOfTranslationUnit()
1039 void Sema::ActOnEndOfTranslationUnitFragment(TUFragmentKind Kind) { in ActOnEndOfTranslationUnitFragment()
1107 void Sema::ActOnEndOfTranslationUnit() { in ActOnEndOfTranslationUnit()
1448 DeclContext *Sema::getFunctionLevelDeclContext(bool AllowLambda) { in getFunctionLevelDeclContext()
1468 FunctionDecl *Sema::getCurFunctionDecl(bool AllowLambda) { in getCurFunctionDecl()
1473 ObjCMethodDecl *Sema::getCurMethodDecl() { in getCurMethodDecl()
1480 NamedDecl *Sema::getCurFunctionOrMethodDecl() { in getCurFunctionOrMethodDecl()
1487 LangAS Sema::getDefaultCXXMethodAddrSpace() const { in getDefaultCXXMethodAddrSpace()
1493 void Sema::EmitCurrentDiagnostic(unsigned DiagID) { in EmitCurrentDiagnostic()
1591 Sema::SemaDiagnosticBuilder
1592 Sema::Diag(SourceLocation Loc, const PartialDiagnostic &PD, bool DeferHint) { in Diag()
1596 bool Sema::hasUncompilableErrorOccurred() const { in hasUncompilableErrorOccurred()
1614 static void emitCallStackNotes(Sema &S, FunctionDecl *FD) { in emitCallStackNotes()
1681 DeferredDiagnosticsEmitter(Sema &S) in DeferredDiagnosticsEmitter()
1749 Sema::FunctionEmissionStatus::Emitted; in checkRecordedDecl()
1786 void Sema::emitDeferredDiags() { in emitDeferredDiags()
1824 Sema::SemaDiagnosticBuilder::SemaDiagnosticBuilder(Kind K, SourceLocation Loc, in SemaDiagnosticBuilder()
1826 FunctionDecl *Fn, Sema &S) in SemaDiagnosticBuilder()
1846 Sema::SemaDiagnosticBuilder::SemaDiagnosticBuilder(SemaDiagnosticBuilder &&D) in SemaDiagnosticBuilder()
1856 Sema::SemaDiagnosticBuilder::~SemaDiagnosticBuilder() { in ~SemaDiagnosticBuilder()
1871 Sema::SemaDiagnosticBuilder
1872 Sema::targetDiag(SourceLocation Loc, unsigned DiagID, FunctionDecl *FD) { in targetDiag()
1888 Sema::SemaDiagnosticBuilder Sema::Diag(SourceLocation Loc, unsigned DiagID, in Diag()
1911 void Sema::checkTypeSupport(QualType Ty, SourceLocation Loc, ValueDecl *D) { in checkTypeSupport()
2064 bool Sema::findMacroSpelling(SourceLocation &locref, StringRef name) { in findMacroSpelling()
2092 Scope *Sema::getScopeForContext(DeclContext *Ctx) { in getScopeForContext()
2111 void Sema::PushFunctionScope() { in PushFunctionScope()
2123 void Sema::PushBlockScope(Scope *BlockScope, BlockDecl *Block) { in PushBlockScope()
2128 LambdaScopeInfo *Sema::PushLambdaScope() { in PushLambdaScope()
2134 void Sema::RecordParsingTemplateParameterDepth(unsigned Depth) { in RecordParsingTemplateParameterDepth()
2148 static void checkEscapingByref(VarDecl *VD, Sema &S) { in checkEscapingByref()
2151 S, Sema::ExpressionEvaluationContext::PotentiallyEvaluated); in checkEscapingByref()
2163 IE, Sema::NamedReturnInfo{VD, Sema::NamedReturnInfo::MoveEligible}, in checkEscapingByref()
2182 static void markEscapingByrefs(const FunctionScopeInfo &FSI, Sema &S) { in markEscapingByrefs()
2202 Sema::NTCUC_BlockCapture, in markEscapingByrefs()
2203 Sema::NTCUK_Destruct|Sema::NTCUK_Copy); in markEscapingByrefs()
2227 Sema::PoppedFunctionScopePtr
2228 Sema::PopFunctionScopeInfo(const AnalysisBasedWarnings::Policy *WP, in PopFunctionScopeInfo()
2250 void Sema::PoppedFunctionScopeDeleter::
2259 void Sema::PushCompoundScope(bool IsStmtExpr) { in PushCompoundScope()
2264 void Sema::PopCompoundScope() { in PopCompoundScope()
2273 bool Sema::hasAnyUnrecoverableErrorsInThisFunction() const { in hasAnyUnrecoverableErrorsInThisFunction()
2277 void Sema::setFunctionHasBranchIntoScope() { in setFunctionHasBranchIntoScope()
2282 void Sema::setFunctionHasBranchProtectedScope() { in setFunctionHasBranchProtectedScope()
2287 void Sema::setFunctionHasIndirectGoto() { in setFunctionHasIndirectGoto()
2292 void Sema::setFunctionHasMustTail() { in setFunctionHasMustTail()
2297 BlockScopeInfo *Sema::getCurBlock() { in getCurBlock()
2312 FunctionScopeInfo *Sema::getEnclosingFunction() const { in getEnclosingFunction()
2324 LambdaScopeInfo *Sema::getEnclosingLambda() const { in getEnclosingLambda()
2340 LambdaScopeInfo *Sema::getCurLambda(bool IgnoreNonLambdaCapturingScope) { in getCurLambda()
2365 LambdaScopeInfo *Sema::getCurGenericLambda() { in getCurGenericLambda()
2374 void Sema::ActOnComment(SourceRange Comment) { in ActOnComment()
2428 bool Sema::tryExprAsCall(Expr &E, QualType &ZeroArgCallReturnTy, in tryExprAsCall()
2486 Sema::TentativeAnalysisScope Trap(*this); in tryExprAsCall()
2535 static void noteOverloads(Sema &S, const UnresolvedSetImpl &Overloads, in noteOverloads()
2567 static void notePlausibleOverloads(Sema &S, SourceLocation Loc, in notePlausibleOverloads()
2611 bool Sema::tryToRecoverWithCall(ExprResult &E, const PartialDiagnostic &PD, in tryToRecoverWithCall()
2656 IdentifierInfo *Sema::getSuperIdentifier() const { in getSuperIdentifier()
2662 IdentifierInfo *Sema::getFloat128Identifier() const { in getFloat128Identifier()
2668 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
2679 CapturedRegionScopeInfo *Sema::getCurCapturedRegion() { in getCurCapturedRegion()
2686 const llvm::MapVector<FieldDecl *, Sema::DeleteLocs> &
2687 Sema::getMismatchingDeleteExpressions() const { in getMismatchingDeleteExpressions()
2691 Sema::FPFeaturesStateRAII::FPFeaturesStateRAII(Sema &S) in FPFeaturesStateRAII()
2697 Sema::FPFeaturesStateRAII::~FPFeaturesStateRAII() { in ~FPFeaturesStateRAII()
2703 bool Sema::isDeclaratorFunctionLike(Declarator &D) { in isDeclaratorFunctionLike()