Lines Matching refs:Sema
58 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { in getLocForEndOfToken()
62 ModuleLoader &Sema::getModuleLoader() const { return PP.getModuleLoader(); } in getModuleLoader()
65 Sema::getDarwinSDKInfoForAvailabilityChecking(SourceLocation Loc, in getDarwinSDKInfoForAvailabilityChecking()
76 DarwinSDKInfo *Sema::getDarwinSDKInfoForAvailabilityChecking() { in getDarwinSDKInfoForAvailabilityChecking()
93 Sema::InventAbbreviatedTemplateParameterTypeName(IdentifierInfo *ParamName, in InventAbbreviatedTemplateParameterTypeName()
107 PrintingPolicy Sema::getPrintingPolicy(const ASTContext &Context, in getPrintingPolicy()
127 void Sema::ActOnTranslationUnitScope(Scope *S) { in ActOnTranslationUnitScope()
136 Sema *S = nullptr;
140 void set(Sema &S) { this->S = &S; } in set()
162 Sema::PragmaAlignPackDiagnoseKind::NonDefaultStateAtInclude, in FileChanged()
173 Sema::PragmaAlignPackDiagnoseKind::ChangedStateAtExit, in FileChanged()
186 const unsigned Sema::MaxAlignmentExponent;
187 const uint64_t Sema::MaximumAlignment;
189 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()
466 Sema::~Sema() { in ~Sema()
503 void Sema::warnStackExhausted(SourceLocation Loc) { in warnStackExhausted()
511 void Sema::runWithSufficientStackSpace(SourceLocation Loc, in runWithSufficientStackSpace()
520 bool Sema::makeUnavailableInSystemHeader(SourceLocation loc, in makeUnavailableInSystemHeader()
541 ASTMutationListener *Sema::getASTMutationListener() const { in getASTMutationListener()
550 void Sema::addExternalSource(ExternalSemaSource *E) { in addExternalSource()
565 void Sema::PrintStats() const { in PrintStats()
573 void Sema::diagnoseNullableToNonnullConversion(QualType DstType, in diagnoseNullableToNonnullConversion()
588 void Sema::diagnoseZeroToNullptrConversion(CastKind Kind, const Expr *E) { in diagnoseZeroToNullptrConversion()
636 ExprResult Sema::ImpCastExprToType(Expr *E, QualType Ty, in ImpCastExprToType()
717 CastKind Sema::ScalarTypeToBooleanCastKind(QualType ScalarTy) { in ScalarTypeToBooleanCastKind()
734 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) { in ShouldRemoveFromUnused()
803 bool Sema::isExternalWithNoLinkageType(const ValueDecl *VD) const { in isExternalWithNoLinkageType()
814 void Sema::getUndefinedButUsed( in getUndefinedButUsed()
867 static void checkUndefinedButUsed(Sema &S) { in checkUndefinedButUsed()
929 void Sema::LoadExternalWeakUndeclaredIdentifiers() { in LoadExternalWeakUndeclaredIdentifiers()
1020 void Sema::emitAndClearUnusedLocalTypedefWarnings() { in emitAndClearUnusedLocalTypedefWarnings()
1036 void Sema::ActOnStartOfTranslationUnit() { in ActOnStartOfTranslationUnit()
1042 void Sema::ActOnEndOfTranslationUnitFragment(TUFragmentKind Kind) { in ActOnEndOfTranslationUnitFragment()
1110 void Sema::ActOnEndOfTranslationUnit() { in ActOnEndOfTranslationUnit()
1481 DeclContext *Sema::getFunctionLevelDeclContext(bool AllowLambda) const { in getFunctionLevelDeclContext()
1501 FunctionDecl *Sema::getCurFunctionDecl(bool AllowLambda) const { in getCurFunctionDecl()
1506 ObjCMethodDecl *Sema::getCurMethodDecl() { in getCurMethodDecl()
1513 NamedDecl *Sema::getCurFunctionOrMethodDecl() const { in getCurFunctionOrMethodDecl()
1520 LangAS Sema::getDefaultCXXMethodAddrSpace() const { in getDefaultCXXMethodAddrSpace()
1526 void Sema::EmitCurrentDiagnostic(unsigned DiagID) { in EmitCurrentDiagnostic()
1624 Sema::SemaDiagnosticBuilder
1625 Sema::Diag(SourceLocation Loc, const PartialDiagnostic &PD, bool DeferHint) { in Diag()
1629 bool Sema::hasUncompilableErrorOccurred() const { in hasUncompilableErrorOccurred()
1647 static void emitCallStackNotes(Sema &S, const FunctionDecl *FD) { in emitCallStackNotes()
1714 DeferredDiagnosticsEmitter(Sema &S) in DeferredDiagnosticsEmitter()
1782 Sema::FunctionEmissionStatus::Emitted; in checkRecordedDecl()
1819 void Sema::emitDeferredDiags() { in emitDeferredDiags()
1857 Sema::SemaDiagnosticBuilder::SemaDiagnosticBuilder(Kind K, SourceLocation Loc, in SemaDiagnosticBuilder()
1860 Sema &S) in SemaDiagnosticBuilder()
1880 Sema::SemaDiagnosticBuilder::SemaDiagnosticBuilder(SemaDiagnosticBuilder &&D) in SemaDiagnosticBuilder()
1890 Sema::SemaDiagnosticBuilder::~SemaDiagnosticBuilder() { in ~SemaDiagnosticBuilder()
1905 Sema::SemaDiagnosticBuilder
1906 Sema::targetDiag(SourceLocation Loc, unsigned DiagID, const FunctionDecl *FD) { in targetDiag()
1923 Sema::SemaDiagnosticBuilder Sema::Diag(SourceLocation Loc, unsigned DiagID, in Diag()
1946 void Sema::checkTypeSupport(QualType Ty, SourceLocation Loc, ValueDecl *D) { in checkTypeSupport()
2106 bool Sema::findMacroSpelling(SourceLocation &locref, StringRef name) { in findMacroSpelling()
2134 Scope *Sema::getScopeForContext(DeclContext *Ctx) { in getScopeForContext()
2153 void Sema::PushFunctionScope() { in PushFunctionScope()
2165 void Sema::PushBlockScope(Scope *BlockScope, BlockDecl *Block) { in PushBlockScope()
2171 LambdaScopeInfo *Sema::PushLambdaScope() { in PushLambdaScope()
2178 void Sema::RecordParsingTemplateParameterDepth(unsigned Depth) { in RecordParsingTemplateParameterDepth()
2192 static void checkEscapingByref(VarDecl *VD, Sema &S) { in checkEscapingByref()
2195 S, Sema::ExpressionEvaluationContext::PotentiallyEvaluated); in checkEscapingByref()
2207 IE, Sema::NamedReturnInfo{VD, Sema::NamedReturnInfo::MoveEligible}, in checkEscapingByref()
2226 static void markEscapingByrefs(const FunctionScopeInfo &FSI, Sema &S) { in markEscapingByrefs()
2246 Sema::NTCUC_BlockCapture, in markEscapingByrefs()
2247 Sema::NTCUK_Destruct|Sema::NTCUK_Copy); in markEscapingByrefs()
2271 Sema::PoppedFunctionScopePtr
2272 Sema::PopFunctionScopeInfo(const AnalysisBasedWarnings::Policy *WP, in PopFunctionScopeInfo()
2294 void Sema::PoppedFunctionScopeDeleter::
2305 void Sema::PushCompoundScope(bool IsStmtExpr) { in PushCompoundScope()
2310 void Sema::PopCompoundScope() { in PopCompoundScope()
2319 bool Sema::hasAnyUnrecoverableErrorsInThisFunction() const { in hasAnyUnrecoverableErrorsInThisFunction()
2323 void Sema::setFunctionHasBranchIntoScope() { in setFunctionHasBranchIntoScope()
2328 void Sema::setFunctionHasBranchProtectedScope() { in setFunctionHasBranchProtectedScope()
2333 void Sema::setFunctionHasIndirectGoto() { in setFunctionHasIndirectGoto()
2338 void Sema::setFunctionHasMustTail() { in setFunctionHasMustTail()
2343 BlockScopeInfo *Sema::getCurBlock() { in getCurBlock()
2358 FunctionScopeInfo *Sema::getEnclosingFunction() const { in getEnclosingFunction()
2370 LambdaScopeInfo *Sema::getEnclosingLambda() const { in getEnclosingLambda()
2387 LambdaScopeInfo *Sema::getCurLambda(bool IgnoreNonLambdaCapturingScope) { in getCurLambda()
2412 LambdaScopeInfo *Sema::getCurGenericLambda() { in getCurGenericLambda()
2421 void Sema::ActOnComment(SourceRange Comment) { in ActOnComment()
2480 bool Sema::tryExprAsCall(Expr &E, QualType &ZeroArgCallReturnTy, in tryExprAsCall()
2538 Sema::TentativeAnalysisScope Trap(*this); in tryExprAsCall()
2586 static void noteOverloads(Sema &S, const UnresolvedSetImpl &Overloads, in noteOverloads()
2618 static void notePlausibleOverloads(Sema &S, SourceLocation Loc, in notePlausibleOverloads()
2662 bool Sema::tryToRecoverWithCall(ExprResult &E, const PartialDiagnostic &PD, in tryToRecoverWithCall()
2707 IdentifierInfo *Sema::getSuperIdentifier() const { in getSuperIdentifier()
2713 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
2725 CapturedRegionScopeInfo *Sema::getCurCapturedRegion() { in getCurCapturedRegion()
2732 const llvm::MapVector<FieldDecl *, Sema::DeleteLocs> &
2733 Sema::getMismatchingDeleteExpressions() const { in getMismatchingDeleteExpressions()
2737 Sema::FPFeaturesStateRAII::FPFeaturesStateRAII(Sema &S) in FPFeaturesStateRAII()
2743 Sema::FPFeaturesStateRAII::~FPFeaturesStateRAII() { in ~FPFeaturesStateRAII()
2749 bool Sema::isDeclaratorFunctionLike(Declarator &D) { in isDeclaratorFunctionLike()