Lines Matching refs:sema
13 #include "clang/Sema/SemaInternal.h"
20 #include "clang/Sema/DeclSpec.h"
21 #include "clang/Sema/Initialization.h"
22 #include "clang/Sema/Lookup.h"
23 #include "clang/Sema/Template.h"
24 #include "clang/Sema/TemplateDeduction.h"
27 using namespace sema;
51 Sema::getTemplateInstantiationArgs(NamedDecl *D,
169 bool Sema::ActiveTemplateInstantiation::isInstantiationRecord() const {
187 Sema::InstantiatingTemplate::
188 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
210 Sema::InstantiatingTemplate::
211 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
233 Sema::InstantiatingTemplate::
234 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
258 Sema::InstantiatingTemplate::
259 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
263 sema::TemplateDeductionInfo &DeductionInfo,
287 Sema::InstantiatingTemplate::
288 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
291 sema::TemplateDeductionInfo &DeductionInfo,
312 Sema::InstantiatingTemplate::InstantiatingTemplate(
313 Sema &SemaRef, SourceLocation PointOfInstantiation,
316 sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange)
335 Sema::InstantiatingTemplate::
336 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
359 Sema::InstantiatingTemplate::
360 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
383 Sema::InstantiatingTemplate::
384 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
407 Sema::InstantiatingTemplate::
408 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
433 void Sema::InstantiatingTemplate::Clear() {
458 bool Sema::InstantiatingTemplate::CheckInstantiationDepth(
479 void Sema::PrintInstantiationStack() {
666 Optional<TemplateDeductionInfo *> Sema::isSFINAEContext() const {
733 TemplateInstantiator(Sema &SemaRef,
939 getPackSubstitutedTemplateArgument(Sema &S, TemplateArgument Arg) {
1544 TypeSourceInfo *Sema::SubstType(TypeSourceInfo *T,
1560 TypeSourceInfo *Sema::SubstType(TypeLoc TL,
1591 QualType Sema::SubstType(QualType T,
1642 TypeSourceInfo *Sema::SubstFunctionDeclType(TypeSourceInfo *T,
1676 ParmVarDecl *Sema::SubstParmVarDecl(ParmVarDecl *OldParm,
1770 bool Sema::SubstParmTypes(SourceLocation Loc,
1792 Sema::SubstBaseSpecifiers(CXXRecordDecl *Instantiation,
1833 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(*this, I);
1861 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(*this, -1);
1900 namespace sema {
1901 Attr *instantiateTemplateAttribute(const Attr *At, ASTContext &C, Sema &S,
1908 static bool DiagnoseUninstantiableTemplate(Sema &S,
1974 Sema::InstantiateClass(SourceLocation PointOfInstantiation,
2006 Sema::PotentiallyEvaluated);
2126 // See Sema::InstantiateAttrs
2205 bool Sema::InstantiateEnum(SourceLocation PointOfInstantiation,
2231 Sema::PotentiallyEvaluated);
2257 Sema::InstantiateClassTemplateSpecialization(
2434 Sema::InstantiateClassMembers(SourceLocation PointOfInstantiation,
2608 Sema::InstantiateClassTemplateSpecializationMembers(
2626 Sema::SubstStmt(Stmt *S, const MultiLevelTemplateArgumentList &TemplateArgs) {
2637 Sema::SubstExpr(Expr *E, const MultiLevelTemplateArgumentList &TemplateArgs) {
2647 ExprResult Sema::SubstInitializer(Expr *Init,
2656 bool Sema::SubstExprs(Expr **Exprs, unsigned NumExprs, bool IsCall,
2669 Sema::SubstNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
2681 Sema::SubstDeclarationNameInfo(const DeclarationNameInfo &NameInfo,
2689 Sema::SubstTemplateName(NestedNameSpecifierLoc QualifierLoc,
2699 bool Sema::Subst(const TemplateArgumentLoc *Args, unsigned NumArgs,
2756 // If we didn't find the decl, then we either have a sema bug, or we have a