Lines Matching refs:Sema

46 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) {  in getLocForEndOfToken()
50 ModuleLoader &Sema::getModuleLoader() const { return PP.getModuleLoader(); } in getModuleLoader()
52 PrintingPolicy Sema::getPrintingPolicy(const ASTContext &Context, in getPrintingPolicy()
69 void Sema::ActOnTranslationUnitScope(Scope *S) { in ActOnTranslationUnitScope()
78 Sema *S = nullptr;
82 void set(Sema &S) { this->S = &S; } in set()
98 Sema::PragmaPackDiagnoseKind::NonDefaultStateAtInclude, IncludeLoc); in FileChanged()
105 Sema::PragmaPackDiagnoseKind::ChangedStateAtExit, in FileChanged()
117 Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer, in Sema() function in Sema
180 void Sema::addImplicitTypedef(StringRef Name, QualType T) { in addImplicitTypedef()
186 void Sema::Initialize() { in Initialize()
341 Sema::~Sema() { in ~Sema()
378 bool Sema::makeUnavailableInSystemHeader(SourceLocation loc, in makeUnavailableInSystemHeader()
399 ASTMutationListener *Sema::getASTMutationListener() const { in getASTMutationListener()
408 void Sema::addExternalSource(ExternalSemaSource *E) { in addExternalSource()
425 void Sema::PrintStats() const { in PrintStats()
433 void Sema::diagnoseNullableToNonnullConversion(QualType DstType, in diagnoseNullableToNonnullConversion()
447 void Sema::diagnoseZeroToNullptrConversion(CastKind Kind, const Expr* E) { in diagnoseZeroToNullptrConversion()
475 ExprResult Sema::ImpCastExprToType(Expr *E, QualType Ty, in ImpCastExprToType()
530 CastKind Sema::ScalarTypeToBooleanCastKind(QualType ScalarTy) { in ScalarTypeToBooleanCastKind()
547 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) { in ShouldRemoveFromUnused()
616 bool Sema::isExternalWithNoLinkageType(ValueDecl *VD) { in isExternalWithNoLinkageType()
627 void Sema::getUndefinedButUsed( in getUndefinedButUsed()
680 static void checkUndefinedButUsed(Sema &S) { in checkUndefinedButUsed()
730 void Sema::LoadExternalWeakUndeclaredIdentifiers() { in LoadExternalWeakUndeclaredIdentifiers()
821 void Sema::emitAndClearUnusedLocalTypedefWarnings() { in emitAndClearUnusedLocalTypedefWarnings()
837 void Sema::ActOnStartOfTranslationUnit() { in ActOnStartOfTranslationUnit()
865 void Sema::ActOnEndOfTranslationUnit() { in ActOnEndOfTranslationUnit()
1184 DeclContext *Sema::getFunctionLevelDeclContext() { in getFunctionLevelDeclContext()
1204 FunctionDecl *Sema::getCurFunctionDecl() { in getCurFunctionDecl()
1209 ObjCMethodDecl *Sema::getCurMethodDecl() { in getCurMethodDecl()
1216 NamedDecl *Sema::getCurFunctionOrMethodDecl() { in getCurFunctionOrMethodDecl()
1223 void Sema::EmitCurrentDiagnostic(unsigned DiagID) { in EmitCurrentDiagnostic()
1321 Sema::SemaDiagnosticBuilder
1322 Sema::Diag(SourceLocation Loc, const PartialDiagnostic& PD) { in Diag()
1333 bool Sema::findMacroSpelling(SourceLocation &locref, StringRef name) { in findMacroSpelling()
1361 Scope *Sema::getScopeForContext(DeclContext *Ctx) { in getScopeForContext()
1380 void Sema::PushFunctionScope() { in PushFunctionScope()
1392 void Sema::PushBlockScope(Scope *BlockScope, BlockDecl *Block) { in PushBlockScope()
1397 LambdaScopeInfo *Sema::PushLambdaScope() { in PushLambdaScope()
1403 void Sema::RecordParsingTemplateParameterDepth(unsigned Depth) { in RecordParsingTemplateParameterDepth()
1414 static void checkEscapingByref(VarDecl *VD, Sema &S) { in checkEscapingByref()
1417 S, Sema::ExpressionEvaluationContext::PotentiallyEvaluated); in checkEscapingByref()
1439 static void markEscapingByrefs(const FunctionScopeInfo &FSI, Sema &S) { in markEscapingByrefs()
1465 void Sema::PopFunctionScopeInfo(const AnalysisBasedWarnings::Policy *WP, in PopFunctionScopeInfo()
1492 void Sema::PushCompoundScope(bool IsStmtExpr) { in PushCompoundScope()
1496 void Sema::PopCompoundScope() { in PopCompoundScope()
1505 bool Sema::hasAnyUnrecoverableErrorsInThisFunction() const { in hasAnyUnrecoverableErrorsInThisFunction()
1509 void Sema::setFunctionHasBranchIntoScope() { in setFunctionHasBranchIntoScope()
1514 void Sema::setFunctionHasBranchProtectedScope() { in setFunctionHasBranchProtectedScope()
1519 void Sema::setFunctionHasIndirectGoto() { in setFunctionHasIndirectGoto()
1524 BlockScopeInfo *Sema::getCurBlock() { in getCurBlock()
1539 FunctionScopeInfo *Sema::getEnclosingFunction() const { in getEnclosingFunction()
1551 LambdaScopeInfo *Sema::getCurLambda(bool IgnoreNonLambdaCapturingScope) { in getCurLambda()
1575 LambdaScopeInfo *Sema::getCurGenericLambda() { in getCurGenericLambda()
1584 void Sema::ActOnComment(SourceRange Comment) { in ActOnComment()
1637 bool Sema::tryExprAsCall(Expr &E, QualType &ZeroArgCallReturnTy, in tryExprAsCall()
1746 static void noteOverloads(Sema &S, const UnresolvedSetImpl &Overloads, in noteOverloads()
1775 static void notePlausibleOverloads(Sema &S, SourceLocation Loc, in notePlausibleOverloads()
1819 bool Sema::tryToRecoverWithCall(ExprResult &E, const PartialDiagnostic &PD, in tryToRecoverWithCall()
1860 IdentifierInfo *Sema::getSuperIdentifier() const { in getSuperIdentifier()
1866 IdentifierInfo *Sema::getFloat128Identifier() const { in getFloat128Identifier()
1872 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
1881 CapturedRegionScopeInfo *Sema::getCurCapturedRegion() { in getCurCapturedRegion()
1888 const llvm::MapVector<FieldDecl *, Sema::DeleteLocs> &
1889 Sema::getMismatchingDeleteExpressions() const { in getMismatchingDeleteExpressions()
1893 void Sema::setOpenCLExtensionForType(QualType T, llvm::StringRef ExtStr) { in setOpenCLExtensionForType()
1903 void Sema::setOpenCLExtensionForDecl(Decl *FD, StringRef ExtStr) { in setOpenCLExtensionForDecl()
1912 void Sema::setCurrentOpenCLExtensionForType(QualType T) { in setCurrentOpenCLExtensionForType()
1918 void Sema::setCurrentOpenCLExtensionForDecl(Decl *D) { in setCurrentOpenCLExtensionForDecl()
1924 std::string Sema::getOpenCLExtensionsFromDeclExtMap(FunctionDecl *FD) { in getOpenCLExtensionsFromDeclExtMap()
1931 std::string Sema::getOpenCLExtensionsFromTypeExtMap(FunctionType *FT) { in getOpenCLExtensionsFromTypeExtMap()
1939 std::string Sema::getOpenCLExtensionsFromExtMap(T *FDT, MapT &Map) { in getOpenCLExtensionsFromExtMap()
1952 bool Sema::isOpenCLDisabledDecl(Decl *FD) { in isOpenCLDisabledDecl()
1964 bool Sema::checkOpenCLDisabledTypeOrDecl(T D, DiagLocT DiagLoc, in checkOpenCLDisabledTypeOrDecl()
1982 bool Sema::checkOpenCLDisabledTypeDeclSpec(const DeclSpec &DS, QualType QT) { in checkOpenCLDisabledTypeDeclSpec()
2006 bool Sema::checkOpenCLDisabledDecl(const NamedDecl &D, const Expr &E) { in checkOpenCLDisabledDecl()