• Home
  • Raw
  • Download

Lines Matching refs:Sema

51 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) {  in getLocForEndOfToken()
55 ModuleLoader &Sema::getModuleLoader() const { return PP.getModuleLoader(); } in getModuleLoader()
58 Sema::InventAbbreviatedTemplateParameterTypeName(IdentifierInfo *ParamName, in InventAbbreviatedTemplateParameterTypeName()
72 PrintingPolicy Sema::getPrintingPolicy(const ASTContext &Context, in getPrintingPolicy()
89 void Sema::ActOnTranslationUnitScope(Scope *S) { in ActOnTranslationUnitScope()
98 Sema *S = nullptr;
102 void set(Sema &S) { this->S = &S; } in set()
124 Sema::PragmaPackDiagnoseKind::NonDefaultStateAtInclude, IncludeLoc); in FileChanged()
134 Sema::PragmaPackDiagnoseKind::ChangedStateAtExit, in FileChanged()
147 const unsigned Sema::MaxAlignmentExponent;
148 const unsigned Sema::MaximumAlignment;
150 Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer, in Sema() function in Sema
214 void Sema::anchor() {} in anchor()
216 void Sema::addImplicitTypedef(StringRef Name, QualType T) { in addImplicitTypedef()
222 void Sema::Initialize() { in Initialize()
392 Sema::~Sema() { in ~Sema()
430 void Sema::warnStackExhausted(SourceLocation Loc) { in warnStackExhausted()
438 void Sema::runWithSufficientStackSpace(SourceLocation Loc, in runWithSufficientStackSpace()
447 bool Sema::makeUnavailableInSystemHeader(SourceLocation loc, in makeUnavailableInSystemHeader()
468 ASTMutationListener *Sema::getASTMutationListener() const { in getASTMutationListener()
477 void Sema::addExternalSource(ExternalSemaSource *E) { in addExternalSource()
494 void Sema::PrintStats() const { in PrintStats()
502 void Sema::diagnoseNullableToNonnullConversion(QualType DstType, in diagnoseNullableToNonnullConversion()
517 void Sema::diagnoseZeroToNullptrConversion(CastKind Kind, const Expr* E) { in diagnoseZeroToNullptrConversion()
545 ExprResult Sema::ImpCastExprToType(Expr *E, QualType Ty, in ImpCastExprToType()
605 CastKind Sema::ScalarTypeToBooleanCastKind(QualType ScalarTy) { in ScalarTypeToBooleanCastKind()
622 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) { in ShouldRemoveFromUnused()
691 bool Sema::isExternalWithNoLinkageType(ValueDecl *VD) { in isExternalWithNoLinkageType()
702 void Sema::getUndefinedButUsed( in getUndefinedButUsed()
755 static void checkUndefinedButUsed(Sema &S) { in checkUndefinedButUsed()
805 void Sema::LoadExternalWeakUndeclaredIdentifiers() { in LoadExternalWeakUndeclaredIdentifiers()
896 void Sema::emitAndClearUnusedLocalTypedefWarnings() { in emitAndClearUnusedLocalTypedefWarnings()
912 void Sema::ActOnStartOfTranslationUnit() { in ActOnStartOfTranslationUnit()
924 void Sema::ActOnEndOfTranslationUnitFragment(TUFragmentKind Kind) { in ActOnEndOfTranslationUnitFragment()
992 void Sema::ActOnEndOfTranslationUnit() { in ActOnEndOfTranslationUnit()
1304 DeclContext *Sema::getFunctionLevelDeclContext() { in getFunctionLevelDeclContext()
1325 FunctionDecl *Sema::getCurFunctionDecl() { in getCurFunctionDecl()
1330 ObjCMethodDecl *Sema::getCurMethodDecl() { in getCurMethodDecl()
1337 NamedDecl *Sema::getCurFunctionOrMethodDecl() { in getCurFunctionOrMethodDecl()
1344 LangAS Sema::getDefaultCXXMethodAddrSpace() const { in getDefaultCXXMethodAddrSpace()
1350 void Sema::EmitCurrentDiagnostic(unsigned DiagID) { in EmitCurrentDiagnostic()
1448 Sema::SemaDiagnosticBuilder
1449 Sema::Diag(SourceLocation Loc, const PartialDiagnostic &PD, bool DeferHint) { in Diag()
1453 bool Sema::hasUncompilableErrorOccurred() const { in hasUncompilableErrorOccurred()
1471 static void emitCallStackNotes(Sema &S, FunctionDecl *FD) { in emitCallStackNotes()
1538 DeferredDiagnosticsEmitter(Sema &S) in DeferredDiagnosticsEmitter()
1604 Sema::FunctionEmissionStatus::Emitted; in checkRecordedDecl()
1641 void Sema::emitDeferredDiags() { in emitDeferredDiags()
1679 Sema::SemaDiagnosticBuilder::SemaDiagnosticBuilder(Kind K, SourceLocation Loc, in SemaDiagnosticBuilder()
1681 FunctionDecl *Fn, Sema &S) in SemaDiagnosticBuilder()
1701 Sema::SemaDiagnosticBuilder::SemaDiagnosticBuilder(SemaDiagnosticBuilder &&D) in SemaDiagnosticBuilder()
1711 Sema::SemaDiagnosticBuilder::~SemaDiagnosticBuilder() { in ~SemaDiagnosticBuilder()
1726 Sema::SemaDiagnosticBuilder Sema::targetDiag(SourceLocation Loc, in targetDiag()
1742 Sema::SemaDiagnosticBuilder Sema::Diag(SourceLocation Loc, unsigned DiagID, in Diag()
1766 void Sema::checkDeviceDecl(const ValueDecl *D, SourceLocation Loc) { in checkDeviceDecl()
1815 bool Sema::findMacroSpelling(SourceLocation &locref, StringRef name) { in findMacroSpelling()
1843 Scope *Sema::getScopeForContext(DeclContext *Ctx) { in getScopeForContext()
1862 void Sema::PushFunctionScope() { in PushFunctionScope()
1874 void Sema::PushBlockScope(Scope *BlockScope, BlockDecl *Block) { in PushBlockScope()
1879 LambdaScopeInfo *Sema::PushLambdaScope() { in PushLambdaScope()
1885 void Sema::RecordParsingTemplateParameterDepth(unsigned Depth) { in RecordParsingTemplateParameterDepth()
1896 static void checkEscapingByref(VarDecl *VD, Sema &S) { in checkEscapingByref()
1899 S, Sema::ExpressionEvaluationContext::PotentiallyEvaluated); in checkEscapingByref()
1921 static void markEscapingByrefs(const FunctionScopeInfo &FSI, Sema &S) { in markEscapingByrefs()
1941 Sema::NTCUC_BlockCapture, in markEscapingByrefs()
1942 Sema::NTCUK_Destruct|Sema::NTCUK_Copy); in markEscapingByrefs()
1966 Sema::PoppedFunctionScopePtr
1967 Sema::PopFunctionScopeInfo(const AnalysisBasedWarnings::Policy *WP, in PopFunctionScopeInfo()
1989 void Sema::PoppedFunctionScopeDeleter::
1998 void Sema::PushCompoundScope(bool IsStmtExpr) { in PushCompoundScope()
2002 void Sema::PopCompoundScope() { in PopCompoundScope()
2011 bool Sema::hasAnyUnrecoverableErrorsInThisFunction() const { in hasAnyUnrecoverableErrorsInThisFunction()
2015 void Sema::setFunctionHasBranchIntoScope() { in setFunctionHasBranchIntoScope()
2020 void Sema::setFunctionHasBranchProtectedScope() { in setFunctionHasBranchProtectedScope()
2025 void Sema::setFunctionHasIndirectGoto() { in setFunctionHasIndirectGoto()
2030 BlockScopeInfo *Sema::getCurBlock() { in getCurBlock()
2045 FunctionScopeInfo *Sema::getEnclosingFunction() const { in getEnclosingFunction()
2057 LambdaScopeInfo *Sema::getEnclosingLambda() const { in getEnclosingLambda()
2073 LambdaScopeInfo *Sema::getCurLambda(bool IgnoreNonLambdaCapturingScope) { in getCurLambda()
2098 LambdaScopeInfo *Sema::getCurGenericLambda() { in getCurGenericLambda()
2107 void Sema::ActOnComment(SourceRange Comment) { in ActOnComment()
2161 bool Sema::tryExprAsCall(Expr &E, QualType &ZeroArgCallReturnTy, in tryExprAsCall()
2219 Sema::TentativeAnalysisScope Trap(*this); in tryExprAsCall()
2268 static void noteOverloads(Sema &S, const UnresolvedSetImpl &Overloads, in noteOverloads()
2297 static void notePlausibleOverloads(Sema &S, SourceLocation Loc, in notePlausibleOverloads()
2341 bool Sema::tryToRecoverWithCall(ExprResult &E, const PartialDiagnostic &PD, in tryToRecoverWithCall()
2382 IdentifierInfo *Sema::getSuperIdentifier() const { in getSuperIdentifier()
2388 IdentifierInfo *Sema::getFloat128Identifier() const { in getFloat128Identifier()
2394 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
2405 CapturedRegionScopeInfo *Sema::getCurCapturedRegion() { in getCurCapturedRegion()
2412 const llvm::MapVector<FieldDecl *, Sema::DeleteLocs> &
2413 Sema::getMismatchingDeleteExpressions() const { in getMismatchingDeleteExpressions()
2417 void Sema::setOpenCLExtensionForType(QualType T, llvm::StringRef ExtStr) { in setOpenCLExtensionForType()
2427 void Sema::setOpenCLExtensionForDecl(Decl *FD, StringRef ExtStr) { in setOpenCLExtensionForDecl()
2436 void Sema::setCurrentOpenCLExtensionForType(QualType T) { in setCurrentOpenCLExtensionForType()
2442 void Sema::setCurrentOpenCLExtensionForDecl(Decl *D) { in setCurrentOpenCLExtensionForDecl()
2448 std::string Sema::getOpenCLExtensionsFromDeclExtMap(FunctionDecl *FD) { in getOpenCLExtensionsFromDeclExtMap()
2455 std::string Sema::getOpenCLExtensionsFromTypeExtMap(FunctionType *FT) { in getOpenCLExtensionsFromTypeExtMap()
2463 std::string Sema::getOpenCLExtensionsFromExtMap(T *FDT, MapT &Map) { in getOpenCLExtensionsFromExtMap()
2468 bool Sema::isOpenCLDisabledDecl(Decl *FD) { in isOpenCLDisabledDecl()
2480 bool Sema::checkOpenCLDisabledTypeOrDecl(T D, DiagLocT DiagLoc, in checkOpenCLDisabledTypeOrDecl()
2498 bool Sema::checkOpenCLDisabledTypeDeclSpec(const DeclSpec &DS, QualType QT) { in checkOpenCLDisabledTypeDeclSpec()
2522 bool Sema::checkOpenCLDisabledDecl(const NamedDecl &D, const Expr &E) { in checkOpenCLDisabledDecl()