Lines Matching refs:sema
12 #include "clang/Sema/SemaInternal.h"
22 #include "clang/Sema/Lookup.h"
23 #include "clang/Sema/PrettyDeclStackTrace.h"
24 #include "clang/Sema/Template.h"
61 #include "clang/Sema/AttrTemplateInstantiate.inc"
64 Sema &S, const MultiLevelTemplateArgumentList &TemplateArgs,
68 EnterExpressionEvaluationContext Unevaluated(S, Sema::ConstantEvaluated);
84 Sema &S, const MultiLevelTemplateArgumentList &TemplateArgs,
111 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(S, -1);
115 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(S, I);
121 void Sema::InstantiateAttrs(const MultiLevelTemplateArgumentList &TemplateArgs,
139 // enclosing class has been instantiated. See Sema::InstantiateClass.
152 Attr *NewAttr = sema::instantiateTemplateAttribute(TmplAttr, Context,
407 Sema::ConstantEvaluated);
587 Sema::ConstantEvaluated);
691 Sema::ConstantEvaluated);
798 Sema::LookupOrdinaryName, Sema::ForRedeclaration);
848 Sema::TPL_TemplateMatch)) {
860 Sema::TPC_ClassTemplate))
1314 Sema::LookupOrdinaryName, Sema::ForRedeclaration);
1557 Sema::InstantiatingTemplate Inst(SemaRef, Constructor->getLocation(),
1561 Sema::ContextRAII SavedContext(SemaRef, Inh->getDeclContext());
1660 LookupResult Previous(SemaRef, NameInfo, Sema::LookupOrdinaryName,
1661 Sema::ForRedeclaration);
1827 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(SemaRef, I);
1852 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(SemaRef, -1);
1916 Sema &S,
1982 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(SemaRef, I);
1998 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(SemaRef, -1);
2085 LookupResult Prev(SemaRef, NameInfo, Sema::LookupUsingDeclName,
2086 Sema::ForRedeclaration);
2217 LookupResult Previous(SemaRef, NewFD->getNameInfo(), Sema::LookupOrdinaryName,
2218 Sema::ForRedeclaration);
2378 Decl *Sema::SubstDecl(Decl *D, DeclContext *Owner,
2773 static void addInstantiatedParametersToScope(Sema &S, FunctionDecl *Function,
2805 static void InstantiateExceptionSpec(Sema &SemaRef, FunctionDecl *New,
2822 Sema::CXXThisScopeRAII ThisScope(SemaRef, ThisContext, ThisTypeQuals,
2855 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(SemaRef, -1);
2870 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(SemaRef, ArgIdx);
2901 Sema::ConstantEvaluated);
2932 void Sema::InstantiateExceptionSpec(SourceLocation PointOfInstantiation,
2952 Sema::ContextRAII savedContext(*this, Decl);
2984 typedef Sema::ActiveTemplateInstantiation ActiveInstType;
3078 void Sema::InstantiateFunctionDefinition(SourceLocation PointOfInstantiation,
3179 Sema::PotentiallyEvaluated);
3198 Sema::ContextRAII savedContext(*this, Function);
3257 VarTemplateSpecializationDecl *Sema::BuildVarTemplateInstantiation(
3288 VarTemplateSpecializationDecl *Sema::CompleteVarTemplateSpecializationDecl(
3311 void Sema::BuildVariableInstantiation(
3343 Sema::LookupOrdinaryName, Sema::ForRedeclaration);
3381 void Sema::InstantiateVariableInitializer(
3391 PushExpressionEvaluationContext(Sema::ConstantEvaluated, OldVar);
3393 PushExpressionEvaluationContext(Sema::PotentiallyEvaluated, OldVar);
3434 void Sema::InstantiateStaticDataMemberDefinition(
3443 void Sema::InstantiateVariableDefinition(SourceLocation PointOfInstantiation,
3640 Sema::InstantiateMemInitializers(CXXConstructorDecl *New,
3653 // Only instantiate written initializers, let Sema re-construct implicit
3683 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(*this, I);
3991 DeclContext *Sema::FindInstantiatedContext(SourceLocation Loc, DeclContext* DC,
4025 NamedDecl *Sema::FindInstantiatedDecl(SourceLocation Loc, NamedDecl *D,
4224 void Sema::PerformPendingInstantiations(bool LocalOnly) {
4297 void Sema::PerformDependentDiagnostics(const DeclContext *Pattern,