Home
last modified time | relevance | path

Searched defs:SemaRef (Results 1 – 25 of 40) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaBase.h40 Sema &SemaRef; variable
56 Sema &SemaRef; variable
60 ImmediateDiagBuilder(DiagnosticBuilder &DB, Sema &SemaRef, unsigned DiagID) in ImmediateDiagBuilder()
62 ImmediateDiagBuilder(DiagnosticBuilder &&DB, Sema &SemaRef, unsigned DiagID) in ImmediateDiagBuilder()
H A DSemaInternal.h87 TypoCorrectionConsumer(Sema &SemaRef, in TypoCorrectionConsumer()
305 Sema &SemaRef; variable
H A DTemplate.h429 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), in SemaRef() function
561 Sema &SemaRef; variable
586 TemplateDeclInstantiator(Sema &SemaRef, DeclContext *Owner, in TemplateDeclInstantiator()
H A DSemaOpenACC.h450 SemaOpenACC &SemaRef; variable
H A DLookup.h376 static bool isAcceptable(Sema &SemaRef, NamedDecl *D, in isAcceptable()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeductionGuide.cpp70 Sema &SemaRef, in ExtractTypeForDeductionGuide()
198 Sema &SemaRef, TemplateDecl *OriginalTemplate, in buildDeductionGuide()
245 transformTemplateTypeParam(Sema &SemaRef, DeclContext *DC, in transformTemplateTypeParam()
274 transformTemplateParam(Sema &SemaRef, DeclContext *DC, in transformTemplateParam()
307 Sema &SemaRef; member
725 NamedDecl *transformTemplateParameter(Sema &SemaRef, DeclContext *DC, in transformTemplateParameter()
748 buildAssociatedConstraints(Sema &SemaRef, FunctionTemplateDecl *F, in buildAssociatedConstraints()
899 Expr *buildIsDeducibleConstraint(Sema &SemaRef, in buildIsDeducibleConstraint()
953 getRHSTemplateDeclAndArgs(Sema &SemaRef, TypeAliasTemplateDecl *AliasTemplate) { in getRHSTemplateDeclAndArgs()
984 BuildDeductionGuideForTypeAlias(Sema &SemaRef, in BuildDeductionGuideForTypeAlias()
[all …]
H A DSemaTemplateInstantiate.cpp124 getEnclosingTypeAliasTemplateDecl(Sema &SemaRef) { in getEnclosingTypeAliasTemplateDecl()
269 Response HandleFunction(Sema &SemaRef, const FunctionDecl *Function, in HandleFunction()
383 Response HandleRecordDecl(Sema &SemaRef, const CXXRecordDecl *Rec, in HandleRecordDecl()
582 Sema &SemaRef, CodeSynthesisContext::SynthesisKind Kind, in InstantiatingTemplate()
617 Sema &SemaRef, SourceLocation PointOfInstantiation, Decl *Entity, in InstantiatingTemplate()
624 Sema &SemaRef, SourceLocation PointOfInstantiation, FunctionDecl *Entity, in InstantiatingTemplate()
631 Sema &SemaRef, SourceLocation PointOfInstantiation, TemplateParameter Param, in InstantiatingTemplate()
641 Sema &SemaRef, SourceLocation PointOfInstantiation, in InstantiatingTemplate()
655 Sema &SemaRef, SourceLocation PointOfInstantiation, in InstantiatingTemplate()
666 Sema &SemaRef, SourceLocation PointOfInstantiation, in InstantiatingTemplate()
[all …]
H A DSemaExprMember.cpp34 static bool isProvablyNotDerivedFrom(Sema &SemaRef, CXXRecordDecl *Record, in isProvablyNotDerivedFrom()
94 static IMAKind ClassifyImplicitMemberAccess(Sema &SemaRef, in ClassifyImplicitMemberAccess()
223 static void diagnoseInstanceReference(Sema &SemaRef, in diagnoseInstanceReference()
601 static void DiagnoseQualifiedMemberReference(Sema &SemaRef, in DiagnoseQualifiedMemberReference()
704 static bool LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, in LookupMemberExprInRecord()
737 Sema &SemaRef; in LookupMemberExprInRecord() member
762 [=](Sema &SemaRef, TypoExpr *TE, TypoCorrection TC) mutable { in LookupMemberExprInRecord()
H A DSemaLookup.cpp98 Sema &SemaRef; member in __anon506a0daf0111::UnqualUsingDirectiveSet
106 UnqualUsingDirectiveSet(Sema &SemaRef) : SemaRef(SemaRef) {} in UnqualUsingDirectiveSet()
1808 bool LookupResult::isAcceptableSlow(Sema &SemaRef, NamedDecl *D, in isAcceptableSlow()
1935 bool LookupResult::isReachableSlow(Sema &SemaRef, NamedDecl *D) { in isReachableSlow()
2039 static NamedDecl *findAcceptableDecl(Sema &SemaRef, NamedDecl *D, in findAcceptableDecl()
2098 bool LookupResult::isVisible(Sema &SemaRef, NamedDecl *D) { in isVisible()
2108 bool LookupResult::isReachable(Sema &SemaRef, NamedDecl *D) { in isReachable()
2115 bool LookupResult::isAvailableForLookup(Sema &SemaRef, NamedDecl *ND) { in isAvailableForLookup()
4020 void lookupVisibleDecls(Sema &SemaRef, Scope *S, Sema::LookupNameKind Kind, in lookupVisibleDecls()
4044 void lookupVisibleDecls(Sema &SemaRef, DeclContext *Ctx, in lookupVisibleDecls()
[all …]
H A DCodeCompleteConsumer.cpp648 Sema &SemaRef, CodeCompletionContext Context, CodeCompletionResult *Results, in ProcessCodeCompleteResults()
756 Sema &SemaRef, unsigned CurrentArg, OverloadCandidate *Candidates, in ProcessOverloadCandidates()
H A DCheckExprLifetime.cpp989 static void checkExprLifetimeImpl(Sema &SemaRef, in checkExprLifetimeImpl()
1303 void checkExprLifetime(Sema &SemaRef, const InitializedEntity &Entity, in checkExprLifetime()
1314 void checkExprLifetime(Sema &SemaRef, const AssignedEntity &Entity, in checkExprLifetime()
H A DSemaOpenMP.cpp245 Sema &SemaRef; member in __anon1dd12e440111::DSAStackTy
1553 static VarDecl *buildVarDecl(Sema &SemaRef, SourceLocation Loc, QualType Type, in buildVarDecl()
1709 static bool isConstNotMutableType(Sema &SemaRef, QualType Type, in isConstNotMutableType()
1728 static bool rejectConstNotMutableType(Sema &SemaRef, const ValueDecl *D, in rejectConstNotMutableType()
3015 static bool finishLinearClauses(Sema &SemaRef, ArrayRef<OMPClause *> Clauses, in finishLinearClauses()
3042 Sema &SemaRef; member in __anon1dd12e441e11::VarDeclFilterCCC
3063 Sema &SemaRef; member in __anon1dd12e441e11::VarOrFuncDeclFilterCCC
3228 Sema &SemaRef; member in __anon1dd12e441f11::LocalVarRefChecker
3251 explicit LocalVarRefChecker(Sema &SemaRef) : SemaRef(SemaRef) {} in LocalVarRefChecker()
3625 static void reportOriginalDsa(Sema &SemaRef, const DSAStackTy *Stack, in reportOriginalDsa()
[all …]
H A DSemaStmt.cpp897 Sema &SemaRef; member in __anon4f6f6e9d0a11::CommaVisitor
899 CommaVisitor(Sema &SemaRef) : Inherited(SemaRef.Context), SemaRef(SemaRef) {} in CommaVisitor()
2237 static bool FinishForRangeVarDecl(Sema &SemaRef, VarDecl *Decl, Expr *Init, in FinishForRangeVarDecl()
2293 void NoteForRangeBeginEndFunction(Sema &SemaRef, Expr *E, in NoteForRangeBeginEndFunction()
2316 VarDecl *BuildForRangeVarDecl(Sema &SemaRef, SourceLocation Loc, in BuildForRangeVarDecl()
2422 BuildNonArrayForRange(Sema &SemaRef, Expr *BeginRange, Expr *EndRange, in BuildNonArrayForRange()
2556 static StmtResult RebuildForRangeWithDereference(Sema &SemaRef, Scope *S, in RebuildForRangeWithDereference()
2935 static void DiagnoseForRangeReferenceVariableCopies(Sema &SemaRef, in DiagnoseForRangeReferenceVariableCopies()
3024 static void DiagnoseForRangeConstVariableCopies(Sema &SemaRef, in DiagnoseForRangeConstVariableCopies()
3069 static void DiagnoseForRangeVariableCopies(Sema &SemaRef, in DiagnoseForRangeVariableCopies()
H A DSemaConcept.cpp70 ExprResult recreateBinOp(Sema &SemaRef, ExprResult LHS) const { in recreateBinOp()
74 ExprResult recreateBinOp(Sema &SemaRef, ExprResult LHS, in recreateBinOp()
164 Sema &SemaRef; member
921 AdjustConstraintDepth(Sema &SemaRef, unsigned TemplateDepth) in AdjustConstraintDepth()
H A DSemaHLSL.cpp558 Sema &SemaRef; member in __anone207d6480311::DiagnoseHLSLAvailability
653 DiagnoseHLSLAvailability(Sema &SemaRef) : SemaRef(SemaRef) {} in DiagnoseHLSLAvailability()
H A DSemaAvailability.cpp767 Sema &SemaRef; member in __anon2feca2d00411::DiagnoseUnguardedAvailability
778 DiagnoseUnguardedAvailability(Sema &SemaRef, Decl *Ctx) in DiagnoseUnguardedAvailability()
H A DSemaDeclCXX.cpp1677 static bool CheckLiteralType(Sema &SemaRef, Sema::CheckConstexprKind Kind, in CheckLiteralType() argument
1696 static bool CheckConstexprDestructorSubobjects(Sema &SemaRef, in CheckConstexprDestructorSubobjects() argument
1729 static bool CheckConstexprParameterTypes(Sema &SemaRef, in CheckConstexprParameterTypes() argument
1753 CheckConstexprReturnType(Sema & SemaRef,const FunctionDecl * FD,Sema::CheckConstexprKind Kind) CheckConstexprReturnType() argument
1876 CheckConstexprDeclStmt(Sema & SemaRef,const FunctionDecl * Dcl,DeclStmt * DS,SourceLocation & Cxx1yLoc,Sema::CheckConstexprKind Kind) CheckConstexprDeclStmt() argument
2029 CheckConstexprCtorInitializer(Sema & SemaRef,const FunctionDecl * Dcl,FieldDecl * Field,llvm::SmallSet<Decl *,16> & Inits,bool & Diagnosed,Sema::CheckConstexprKind Kind) CheckConstexprCtorInitializer() argument
2085 CheckConstexprFunctionStmt(Sema & SemaRef,const FunctionDecl * Dcl,Stmt * S,SmallVectorImpl<SourceLocation> & ReturnStmts,SourceLocation & Cxx1yLoc,SourceLocation & Cxx2aLoc,SourceLocation & Cxx2bLoc,Sema::CheckConstexprKind Kind) CheckConstexprFunctionStmt() argument
2247 CheckConstexprFunctionBody(Sema & SemaRef,const FunctionDecl * Dcl,Stmt * Body,Sema::CheckConstexprKind Kind) CheckConstexprFunctionBody() argument
2456 CheckConstexprMissingReturn(Sema & SemaRef,const FunctionDecl * Dcl) CheckConstexprMissingReturn() argument
2506 Sema &SemaRef; DiagnoseImmediateEscalatingReason() member
3963 DiagnoseUninitializedFields(Sema & SemaRef,const CXXConstructorDecl * Constructor) DiagnoseUninitializedFields() argument
4126 FindBaseInitializer(Sema & SemaRef,CXXRecordDecl * ClassDecl,QualType BaseType,const CXXBaseSpecifier * & DirectBaseSpec,const CXXBaseSpecifier * & VirtualBaseSpec) FindBaseInitializer() argument
4760 CastForMoving(Sema & SemaRef,Expr * E) CastForMoving() argument
4783 BuildImplicitBaseInitializer(Sema & SemaRef,CXXConstructorDecl * Constructor,ImplicitInitializerKind ImplicitInitKind,CXXBaseSpecifier * BaseSpec,bool IsInheritedVirtualBase,CXXCtorInitializer * & CXXBaseInit) BuildImplicitBaseInitializer() argument
4866 BuildImplicitMemberInitializer(Sema & SemaRef,CXXConstructorDecl * Constructor,ImplicitInitializerKind ImplicitInitKind,FieldDecl * Field,IndirectFieldDecl * Indirect,CXXCtorInitializer * & CXXMemberInit) BuildImplicitMemberInitializer() argument
5130 CollectFieldInitializer(Sema & SemaRef,BaseAndFieldInfo & Info,FieldDecl * Field,IndirectFieldDecl * Indirect=nullptr) CollectFieldInitializer() argument
5435 DiagnoseBaseOrMemInitializerOrder(Sema & SemaRef,const CXXConstructorDecl * Constructor,ArrayRef<CXXCtorInitializer * > Inits) DiagnoseBaseOrMemInitializerOrder() argument
16104 CheckOperatorNewDeleteDeclarationScope(Sema & SemaRef,const FunctionDecl * FnDecl) CheckOperatorNewDeleteDeclarationScope() argument
16123 RemoveAddressSpaceFromPtr(Sema & SemaRef,const PointerType * PtrTy) RemoveAddressSpaceFromPtr() argument
16133 CheckOperatorNewDeleteTypes(Sema & SemaRef,const FunctionDecl * FnDecl,CanQualType ExpectedResultType,CanQualType ExpectedFirstParamType,unsigned DependentParamTypeDiag,unsigned InvalidParamTypeDiag) CheckOperatorNewDeleteTypes() argument
16204 CheckOperatorNewDeclaration(Sema & SemaRef,const FunctionDecl * FnDecl) CheckOperatorNewDeclaration() argument
16235 CheckOperatorDeleteDeclaration(Sema & SemaRef,FunctionDecl * FnDecl) CheckOperatorDeleteDeclaration() argument
16446 checkLiteralOperatorTemplateParameterList(Sema & SemaRef,FunctionTemplateDecl * TpDecl) checkLiteralOperatorTemplateParameterList() argument
[all...]
H A DSemaOverload.cpp1285 static bool IsOverloadOrOverrideImpl(Sema &SemaRef, FunctionDecl *New, in IsOverloadOrOverrideImpl()
6396 diagnoseAmbiguousConversion(Sema &SemaRef, SourceLocation Loc, Expr *From, in diagnoseAmbiguousConversion()
6414 diagnoseNoViableConversion(Sema &SemaRef, SourceLocation Loc, Expr *&From, in diagnoseNoViableConversion()
6458 static bool recordConversion(Sema &SemaRef, SourceLocation Loc, Expr *&From, in recordConversion()
6488 Sema &SemaRef, SourceLocation Loc, Expr *From, in finishContextualImplicitConversion()
6498 collectViableConversionCandidates(Sema &SemaRef, Expr *From, QualType ToType, in collectViableConversionCandidates()
8402 Sema &SemaRef; member in __anon2e1ecc911211::BuiltinCandidateTypeSet
8415 BuiltinCandidateTypeSet(Sema &SemaRef) in BuiltinCandidateTypeSet()
13571 Sema &SemaRef, SourceLocation FnLoc, const CXXScopeSpec &SS, in DiagnoseTwoPhaseLookup()
13679 DiagnoseTwoPhaseOperatorLookup(Sema &SemaRef, OverloadedOperatorKind Op, in DiagnoseTwoPhaseOperatorLookup()
[all …]
H A DSemaStmtAttr.cpp234 static bool CheckStmtInlineAttr(Sema &SemaRef, const Stmt *OrigSt, in CheckStmtInlineAttr()
H A DSemaCodeComplete.cpp161 Sema &SemaRef; member in __anone047e0890111::ResultBuilder
216 explicit ResultBuilder(Sema &SemaRef, CodeCompletionAllocator &Allocator, in ResultBuilder()
769 static bool shouldIgnoreDueToReservedName(const NamedDecl *ND, Sema &SemaRef) { in shouldIgnoreDueToReservedName()
2136 Scope *S, Sema &SemaRef, ResultBuilder &Results) { in AddOrdinaryNameResults()
5180 AddRecordMembersCompletionResults(Sema &SemaRef, ResultBuilder &Results, in AddRecordMembersCompletionResults()
6100 Sema &SemaRef, SmallVectorImpl<ResultCandidate> &Results, in mergeCandidatesWithResults()
6132 static QualType getParamType(Sema &SemaRef, in getParamType()
6158 ProduceSignatureHelp(Sema &SemaRef, MutableArrayRef<ResultCandidate> Candidates, in ProduceSignatureHelp()
8193 AddClassMessageCompletions(Sema &SemaRef, Scope *S, ParsedType Receiver, in AddClassMessageCompletions()
H A DSemaTemplate.cpp899 static TemplateArgumentLoc translateTemplateArgument(Sema &SemaRef, in translateTemplateArgument()
940 static void maybeDiagnoseTemplateParameterShadow(Sema &SemaRef, Scope *S, in maybeDiagnoseTemplateParameterShadow()
1681 ConstraintRefersToContainingTemplateChecker(Sema &SemaRef, in ConstraintRefersToContainingTemplateChecker()
3062 checkBuiltinTemplateIdType(Sema &SemaRef, BuiltinTemplateDecl *BTD, in checkBuiltinTemplateIdType()
4756 Sema &SemaRef, TemplateDecl *Template, SourceLocation TemplateLoc, in SubstDefaultTemplateArgument()
4816 Sema &SemaRef, TemplateDecl *Template, SourceLocation TemplateLoc, in SubstDefaultTemplateArgument()
4866 Sema &SemaRef, TemplateDecl *Template, SourceLocation TemplateLoc, in SubstDefaultTemplateArgument()
10652 CurrentInstantiationRebuilder(Sema &SemaRef, in CurrentInstantiationRebuilder()
H A DSemaLambda.cpp234 getGenericLambdaTemplateParameterList(LambdaScopeInfo *LSI, Sema &SemaRef) { in getGenericLambdaTemplateParameterList()
2377 Sema &SemaRef, FunctionDecl *FD, MultiLevelTemplateArgumentList MLTAL, in LambdaScopeForCallOperatorInstantiationRAII()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTestModuleFileExtension.cpp23 Sema &SemaRef, in writeExtensionContents()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DInternals.h151 Sema &SemaRef; variable
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp3559 void ASTWriter::WriteSelectors(Sema &SemaRef) { in WriteSelectors()
3666 void ASTWriter::WriteReferencedSelectorsPool(Sema &SemaRef) { in WriteReferencedSelectorsPool()
4475 void ASTWriter::WriteOpenCLExtensions(Sema &SemaRef) { in WriteOpenCLExtensions()
4493 void ASTWriter::WriteCUDAPragmas(Sema &SemaRef) { in WriteCUDAPragmas()
4552 void ASTWriter::WriteLateParsedTemplates(Sema &SemaRef) { in WriteLateParsedTemplates()
4575 void ASTWriter::WriteOptimizePragmaOptions(Sema &SemaRef) { in WriteOptimizePragmaOptions()
4583 void ASTWriter::WriteMSStructPragmaOptions(Sema &SemaRef) { in WriteMSStructPragmaOptions()
4591 void ASTWriter::WriteMSPointersToMembersPragmaOptions(Sema &SemaRef) { in WriteMSPointersToMembersPragmaOptions()
4599 void ASTWriter::WritePackPragmaOptions(Sema &SemaRef) { in WritePackPragmaOptions()
4619 void ASTWriter::WriteFloatControlPragmaOptions(Sema &SemaRef) { in WriteFloatControlPragmaOptions()
[all …]

12