Home | History | Annotate | Download | only in Sema

Lines Matching full: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"
72 #include "clang/Sema/AttrTemplateInstantiate.inc"
75 Sema &S, const MultiLevelTemplateArgumentList &TemplateArgs,
79 EnterExpressionEvaluationContext Unevaluated(S, Sema::ConstantEvaluated);
95 Sema &S, const MultiLevelTemplateArgumentList &TemplateArgs,
122 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(S, -1);
126 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(S, I);
133 Sema &S, const MultiLevelTemplateArgumentList &TemplateArgs,
137 EnterExpressionEvaluationContext Unevaluated(S, Sema::Unevaluated);
167 void Sema::InstantiateAttrs(const MultiLevelTemplateArgumentList &TemplateArgs,
189 // enclosing class has been instantiated. See Sema::InstantiateClass.
202 Attr *NewAttr = sema::instantiateTemplateAttribute(TmplAttr, Context,
470 Sema::ConstantEvaluated);
646 Sema::ConstantEvaluated);
748 Sema::ConstantEvaluated);
855 Sema::LookupOrdinaryName, Sema::ForRedeclaration);
901 Sema::TPL_TemplateMatch)) {
913 Sema::TPC_ClassTemplate))
1369 D->isLocalExternDecl() ? Sema::LookupRedeclarationWithLinkage
1370 : Sema::LookupOrdinaryName,
1371 Sema::ForRedeclaration);
1598 Sema::InstantiatingTemplate Inst(SemaRef, Constructor->getLocation(),
1602 Sema::ContextRAII SavedContext(SemaRef, Inh->getDeclContext());
1701 LookupResult Previous(SemaRef, NameInfo, Sema::LookupOrdinaryName,
1702 Sema::ForRedeclaration);
1873 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(SemaRef, I);
1898 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(SemaRef, -1);
1966 Sema &S,
2032 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(SemaRef, I);
2048 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(SemaRef, -1);
2149 LookupResult Prev(SemaRef, NameInfo, Sema::LookupUsingDeclName,
2150 Sema::ForRedeclaration);
2282 LookupResult Previous(SemaRef, NewFD->getNameInfo(), Sema::LookupOrdinaryName,
2283 Sema::ForRedeclaration);
2579 Decl *Sema::SubstDecl(Decl *D, DeclContext *Owner,
2979 static void addInstantiatedParametersToScope(Sema &S, FunctionDecl *Function,
3022 static void InstantiateExceptionSpec(Sema &SemaRef, FunctionDecl *New,
3039 Sema::CXXThisScopeRAII ThisScope(SemaRef, ThisContext, ThisTypeQuals,
3072 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(SemaRef, -1);
3087 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(SemaRef, ArgIdx);
3118 Sema::ConstantEvaluated);
3143 void Sema::InstantiateExceptionSpec(SourceLocation PointOfInstantiation,
3162 Sema::ContextRAII savedContext(*this, Decl);
3198 typedef Sema::ActiveTemplateInstantiation ActiveInstType;
3292 void Sema::InstantiateFunctionDefinition(SourceLocation PointOfInstantiation,
3405 Sema::PotentiallyEvaluated);
3424 Sema::ContextRAII savedContext(*this, Function);
3484 VarTemplateSpecializationDecl *Sema::BuildVarTemplateInstantiation(
3533 VarTemplateSpecializationDecl *Sema::CompleteVarTemplateSpecializationDecl(
3556 void Sema::BuildVariableInstantiation(
3605 NewVar->isLocalExternDecl() ? Sema::LookupRedeclarationWithLinkage
3606 : Sema::LookupOrdinaryName,
3607 Sema::ForRedeclaration);
3660 void Sema::InstantiateVariableInitializer(
3670 PushExpressionEvaluationContext(Sema::ConstantEvaluated, OldVar);
3672 PushExpressionEvaluationContext(Sema::PotentiallyEvaluated, OldVar);
3718 void Sema::InstantiateStaticDataMemberDefinition(
3727 void Sema::InstantiateVariableDefinition(SourceLocation PointOfInstantiation,
4005 Sema::InstantiateMemInitializers(CXXConstructorDecl *New,
4014 // Only instantiate written initializers, let Sema re-construct implicit
4044 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(*this, I);
4352 DeclContext *Sema::FindInstantiatedContext(SourceLocation Loc, DeclContext* DC,
4386 NamedDecl *Sema::FindInstantiatedDecl(SourceLocation Loc, NamedDecl *D,
4607 void Sema::PerformPendingInstantiations(bool LocalOnly) {
4672 void Sema::PerformDependentDiagnostics(const DeclContext *Pattern,