Lines Matching refs:Sema

54 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) {  in getLocForEndOfToken()
58 ModuleLoader &Sema::getModuleLoader() const { return PP.getModuleLoader(); } in getModuleLoader()
61 Sema::getDarwinSDKInfoForAvailabilityChecking(SourceLocation Loc, in getDarwinSDKInfoForAvailabilityChecking()
81 Sema::InventAbbreviatedTemplateParameterTypeName(IdentifierInfo *ParamName, in InventAbbreviatedTemplateParameterTypeName()
95 PrintingPolicy Sema::getPrintingPolicy(const ASTContext &Context, in getPrintingPolicy()
112 void Sema::ActOnTranslationUnitScope(Scope *S) { in ActOnTranslationUnitScope()
121 Sema *S = nullptr;
125 void set(Sema &S) { this->S = &S; } in set()
147 Sema::PragmaAlignPackDiagnoseKind::NonDefaultStateAtInclude, in FileChanged()
158 Sema::PragmaAlignPackDiagnoseKind::ChangedStateAtExit, in FileChanged()
171 const unsigned Sema::MaxAlignmentExponent;
172 const unsigned Sema::MaximumAlignment;
174 Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer, in Sema() function in Sema
240 void Sema::anchor() {} in anchor()
242 void Sema::addImplicitTypedef(StringRef Name, QualType T) { in addImplicitTypedef()
248 void Sema::Initialize() { in Initialize()
435 Sema::~Sema() { in ~Sema()
476 void Sema::warnStackExhausted(SourceLocation Loc) { in warnStackExhausted()
484 void Sema::runWithSufficientStackSpace(SourceLocation Loc, in runWithSufficientStackSpace()
493 bool Sema::makeUnavailableInSystemHeader(SourceLocation loc, in makeUnavailableInSystemHeader()
514 ASTMutationListener *Sema::getASTMutationListener() const { in getASTMutationListener()
523 void Sema::addExternalSource(ExternalSemaSource *E) { in addExternalSource()
540 void Sema::PrintStats() const { in PrintStats()
548 void Sema::diagnoseNullableToNonnullConversion(QualType DstType, in diagnoseNullableToNonnullConversion()
563 void Sema::diagnoseZeroToNullptrConversion(CastKind Kind, const Expr* E) { in diagnoseZeroToNullptrConversion()
598 ExprResult Sema::ImpCastExprToType(Expr *E, QualType Ty, in ImpCastExprToType()
679 CastKind Sema::ScalarTypeToBooleanCastKind(QualType ScalarTy) { in ScalarTypeToBooleanCastKind()
696 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) { in ShouldRemoveFromUnused()
765 bool Sema::isExternalWithNoLinkageType(ValueDecl *VD) { in isExternalWithNoLinkageType()
776 void Sema::getUndefinedButUsed( in getUndefinedButUsed()
829 static void checkUndefinedButUsed(Sema &S) { in checkUndefinedButUsed()
892 void Sema::LoadExternalWeakUndeclaredIdentifiers() { in LoadExternalWeakUndeclaredIdentifiers()
983 void Sema::emitAndClearUnusedLocalTypedefWarnings() { in emitAndClearUnusedLocalTypedefWarnings()
999 void Sema::ActOnStartOfTranslationUnit() { in ActOnStartOfTranslationUnit()
1011 void Sema::ActOnEndOfTranslationUnitFragment(TUFragmentKind Kind) { in ActOnEndOfTranslationUnitFragment()
1079 void Sema::ActOnEndOfTranslationUnit() { in ActOnEndOfTranslationUnit()
1391 DeclContext *Sema::getFunctionLevelDeclContext() { in getFunctionLevelDeclContext()
1412 FunctionDecl *Sema::getCurFunctionDecl() { in getCurFunctionDecl()
1417 ObjCMethodDecl *Sema::getCurMethodDecl() { in getCurMethodDecl()
1424 NamedDecl *Sema::getCurFunctionOrMethodDecl() { in getCurFunctionOrMethodDecl()
1431 LangAS Sema::getDefaultCXXMethodAddrSpace() const { in getDefaultCXXMethodAddrSpace()
1437 void Sema::EmitCurrentDiagnostic(unsigned DiagID) { in EmitCurrentDiagnostic()
1535 Sema::SemaDiagnosticBuilder
1536 Sema::Diag(SourceLocation Loc, const PartialDiagnostic &PD, bool DeferHint) { in Diag()
1540 bool Sema::hasUncompilableErrorOccurred() const { in hasUncompilableErrorOccurred()
1558 static void emitCallStackNotes(Sema &S, FunctionDecl *FD) { in emitCallStackNotes()
1625 DeferredDiagnosticsEmitter(Sema &S) in DeferredDiagnosticsEmitter()
1693 Sema::FunctionEmissionStatus::Emitted; in checkRecordedDecl()
1730 void Sema::emitDeferredDiags() { in emitDeferredDiags()
1768 Sema::SemaDiagnosticBuilder::SemaDiagnosticBuilder(Kind K, SourceLocation Loc, in SemaDiagnosticBuilder()
1770 FunctionDecl *Fn, Sema &S) in SemaDiagnosticBuilder()
1790 Sema::SemaDiagnosticBuilder::SemaDiagnosticBuilder(SemaDiagnosticBuilder &&D) in SemaDiagnosticBuilder()
1800 Sema::SemaDiagnosticBuilder::~SemaDiagnosticBuilder() { in ~SemaDiagnosticBuilder()
1815 Sema::SemaDiagnosticBuilder
1816 Sema::targetDiag(SourceLocation Loc, unsigned DiagID, FunctionDecl *FD) { in targetDiag()
1832 Sema::SemaDiagnosticBuilder Sema::Diag(SourceLocation Loc, unsigned DiagID, in Diag()
1855 void Sema::checkDeviceDecl(ValueDecl *D, SourceLocation Loc) { in checkDeviceDecl()
1921 bool Sema::findMacroSpelling(SourceLocation &locref, StringRef name) { in findMacroSpelling()
1949 Scope *Sema::getScopeForContext(DeclContext *Ctx) { in getScopeForContext()
1968 void Sema::PushFunctionScope() { in PushFunctionScope()
1980 void Sema::PushBlockScope(Scope *BlockScope, BlockDecl *Block) { in PushBlockScope()
1985 LambdaScopeInfo *Sema::PushLambdaScope() { in PushLambdaScope()
1991 void Sema::RecordParsingTemplateParameterDepth(unsigned Depth) { in RecordParsingTemplateParameterDepth()
2005 static void checkEscapingByref(VarDecl *VD, Sema &S) { in checkEscapingByref()
2008 S, Sema::ExpressionEvaluationContext::PotentiallyEvaluated); in checkEscapingByref()
2020 IE, Sema::NamedReturnInfo{VD, Sema::NamedReturnInfo::MoveEligible}, in checkEscapingByref()
2039 static void markEscapingByrefs(const FunctionScopeInfo &FSI, Sema &S) { in markEscapingByrefs()
2059 Sema::NTCUC_BlockCapture, in markEscapingByrefs()
2060 Sema::NTCUK_Destruct|Sema::NTCUK_Copy); in markEscapingByrefs()
2084 Sema::PoppedFunctionScopePtr
2085 Sema::PopFunctionScopeInfo(const AnalysisBasedWarnings::Policy *WP, in PopFunctionScopeInfo()
2107 void Sema::PoppedFunctionScopeDeleter::
2116 void Sema::PushCompoundScope(bool IsStmtExpr) { in PushCompoundScope()
2120 void Sema::PopCompoundScope() { in PopCompoundScope()
2129 bool Sema::hasAnyUnrecoverableErrorsInThisFunction() const { in hasAnyUnrecoverableErrorsInThisFunction()
2133 void Sema::setFunctionHasBranchIntoScope() { in setFunctionHasBranchIntoScope()
2138 void Sema::setFunctionHasBranchProtectedScope() { in setFunctionHasBranchProtectedScope()
2143 void Sema::setFunctionHasIndirectGoto() { in setFunctionHasIndirectGoto()
2148 void Sema::setFunctionHasMustTail() { in setFunctionHasMustTail()
2153 BlockScopeInfo *Sema::getCurBlock() { in getCurBlock()
2168 FunctionScopeInfo *Sema::getEnclosingFunction() const { in getEnclosingFunction()
2180 LambdaScopeInfo *Sema::getEnclosingLambda() const { in getEnclosingLambda()
2196 LambdaScopeInfo *Sema::getCurLambda(bool IgnoreNonLambdaCapturingScope) { in getCurLambda()
2221 LambdaScopeInfo *Sema::getCurGenericLambda() { in getCurGenericLambda()
2230 void Sema::ActOnComment(SourceRange Comment) { in ActOnComment()
2284 bool Sema::tryExprAsCall(Expr &E, QualType &ZeroArgCallReturnTy, in tryExprAsCall()
2342 Sema::TentativeAnalysisScope Trap(*this); in tryExprAsCall()
2391 static void noteOverloads(Sema &S, const UnresolvedSetImpl &Overloads, in noteOverloads()
2420 static void notePlausibleOverloads(Sema &S, SourceLocation Loc, in notePlausibleOverloads()
2464 bool Sema::tryToRecoverWithCall(ExprResult &E, const PartialDiagnostic &PD, in tryToRecoverWithCall()
2505 IdentifierInfo *Sema::getSuperIdentifier() const { in getSuperIdentifier()
2511 IdentifierInfo *Sema::getFloat128Identifier() const { in getFloat128Identifier()
2517 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
2528 CapturedRegionScopeInfo *Sema::getCurCapturedRegion() { in getCurCapturedRegion()
2535 const llvm::MapVector<FieldDecl *, Sema::DeleteLocs> &
2536 Sema::getMismatchingDeleteExpressions() const { in getMismatchingDeleteExpressions()