clang 20.0.0git
Namespaces | Functions
DeclTemplate.cpp File Reference
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/ASTMutationListener.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclarationName.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExternalASTSource.h"
#include "clang/AST/TemplateBase.h"
#include "clang/AST/TemplateName.h"
#include "clang/AST/Type.h"
#include "clang/AST/TypeLoc.h"
#include "clang/Basic/Builtins.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/SourceLocation.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/ADT/PointerUnion.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <memory>
#include <optional>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 

Functions

template<class TemplateParam >
static bool DefaultTemplateArgumentContainsUnexpandedPack (const TemplateParam &P)
 
static bool AdoptTemplateParameterList (TemplateParameterList *Params, DeclContext *Owner)
 
void * clang::allocateDefaultArgStorageChain (const ASTContext &C)
 
static TemplateParameterListcreateMakeIntegerSeqParameterList (const ASTContext &C, DeclContext *DC)
 
static TemplateParameterListcreateTypePackElementParameterList (const ASTContext &C, DeclContext *DC)
 
static TemplateParameterListcreateBuiltinTemplateParameterList (const ASTContext &C, DeclContext *DC, BuiltinTemplateKind BTK)
 

Function Documentation

◆ AdoptTemplateParameterList()

static bool AdoptTemplateParameterList ( TemplateParameterList Params,
DeclContext Owner 
)
static

◆ createBuiltinTemplateParameterList()

static TemplateParameterList * createBuiltinTemplateParameterList ( const ASTContext C,
DeclContext DC,
BuiltinTemplateKind  BTK 
)
static

◆ createMakeIntegerSeqParameterList()

static TemplateParameterList * createMakeIntegerSeqParameterList ( const ASTContext C,
DeclContext DC 
)
static

◆ createTypePackElementParameterList()

static TemplateParameterList * createTypePackElementParameterList ( const ASTContext C,
DeclContext DC 
)
static

◆ DefaultTemplateArgumentContainsUnexpandedPack()

template<class TemplateParam >
static bool DefaultTemplateArgumentContainsUnexpandedPack ( const TemplateParam &  P)
static

Definition at line 49 of file DeclTemplate.cpp.

References P.