|
clang
5.0.0
|
#include "clang/Sema/SemaInternal.h"#include "TreeTransform.h"#include "clang/AST/ASTConsumer.h"#include "clang/AST/ASTContext.h"#include "clang/AST/ASTLambda.h"#include "clang/AST/ASTMutationListener.h"#include "clang/AST/DeclTemplate.h"#include "clang/AST/Expr.h"#include "clang/Basic/LangOptions.h"#include "clang/Sema/DeclSpec.h"#include "clang/Sema/Initialization.h"#include "clang/Sema/Lookup.h"#include "clang/Sema/PrettyDeclStackTrace.h"#include "clang/Sema/Template.h"#include "clang/Sema/TemplateDeduction.h"Go to the source code of this file.
Namespaces | |
| clang | |
| /file This file defines classes for searching and anlyzing source code clones. | |
| clang::sema | |
Definition at line 2848 of file SemaTemplateInstantiate.cpp.
References clang::Decl::getCanonicalDecl().
Referenced by clang::LocalInstantiationScope::findInstantiationOf(), clang::LocalInstantiationScope::InstantiatedLocal(), clang::LocalInstantiationScope::InstantiatedLocalPackArg(), and clang::LocalInstantiationScope::MakeInstantiatedLocalArgPack().
Retrieve the depth and index of a parameter pack.
Definition at line 698 of file SemaTemplateInstantiate.cpp.
References clang::TemplateParmPosition::getDepth(), and clang::TemplateParmPosition::getIndex().
|
static |
Definition at line 947 of file SemaTemplateInstantiate.cpp.
References clang::Sema::ArgumentPackSubstitutionIndex, clang::TemplateArgument::getPackExpansionPattern(), clang::TemplateArgument::pack_begin(), and clang::TemplateArgument::pack_size().
|
static |
Get the instantiation pattern to use to instantiate the definition of a given ClassTemplateSpecializationDecl (either the pattern of the primary template or of a partial specialization).
Definition at line 2382 of file SemaTemplateInstantiate.cpp.
References clang::TemplateSpecCandidateSet::addCandidate(), clang::AS_public, clang::Sema::InstantiatingTemplate::Clear(), clang::Sema::Context, clang::Sema::DeduceTemplateArguments(), clang::Sema::Diag(), clang::ClassTemplatePartialSpecializationDecl::getInstantiatedFromMember(), clang::ClassTemplateDecl::getInstantiatedFromMemberTemplate(), clang::TemplateSpecCandidateSet::getLocation(), clang::Sema::getMoreSpecializedPartialSpecialization(), clang::ClassTemplateDecl::getPartialSpecializations(), clang::ClassTemplateSpecializationDecl::getSpecializedTemplate(), clang::ClassTemplateSpecializationDecl::getTemplateArgs(), clang::Sema::getTemplateArgumentBindingsText(), clang::ClassTemplateDecl::getTemplatedDecl(), I, clang::Sema::InstantiatingTemplate::isAlreadyInstantiating(), clang::Sema::InstantiatingTemplate::isInvalid(), clang::RedeclarableTemplateDecl::isMemberSpecialization(), clang::ClassTemplatePartialSpecializationDecl::isMemberSpecialization(), clang::DeclAccessPair::make(), clang::MakeDeductionFailureInfo(), P, PartialSpecs, clang::TemplateSpecCandidate::set(), clang::ClassTemplateSpecializationDecl::setInstantiationOf(), and clang::Decl::setInvalidDecl().
Referenced by clang::Sema::InstantiateClassTemplateSpecialization().
|
static |
Definition at line 1627 of file SemaTemplateInstantiate.cpp.
References clang::TypeLoc::castAs(), clang::TypeLoc::getAs(), clang::FunctionTypeLoc::getParams(), clang::TypeSourceInfo::getType(), clang::TypeSourceInfo::getTypeLoc(), clang::TypeLoc::IgnoreParens(), clang::Type::isInstantiationDependentType(), clang::Type::isVariablyModifiedType(), and P.
Referenced by clang::Sema::SubstFunctionDeclType().
1.8.6