clang 20.0.0git
|
#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 TemplateParameterList * | createMakeIntegerSeqParameterList (const ASTContext &C, DeclContext *DC) |
static TemplateParameterList * | createTypePackElementParameterList (const ASTContext &C, DeclContext *DC) |
static TemplateParameterList * | createBuiltinTemplateParameterList (const ASTContext &C, DeclContext *DC, BuiltinTemplateKind BTK) |
|
static |
Definition at line 211 of file DeclTemplate.cpp.
References AdoptTemplateParameterList(), clang::Invalid, and P.
Referenced by AdoptTemplateParameterList(), clang::ConceptDecl::Create(), clang::FunctionTemplateDecl::Create(), clang::ClassTemplateDecl::Create(), clang::TypeAliasTemplateDecl::Create(), and clang::VarTemplateDecl::Create().
|
static |
Definition at line 1611 of file DeclTemplate.cpp.
References clang::BTK__make_integer_seq, clang::BTK__type_pack_element, clang::C, createMakeIntegerSeqParameterList(), and createTypePackElementParameterList().
|
static |
Definition at line 1541 of file DeclTemplate.cpp.
References clang::C, clang::TemplateTypeParmDecl::Create(), clang::TemplateTemplateParmDecl::Create(), clang::NonTypeTemplateParmDecl::Create(), clang::TemplateParameterList::Create(), clang::TypeSourceInfo::getType(), P, and clang::T.
Referenced by createBuiltinTemplateParameterList().
|
static |
Definition at line 1590 of file DeclTemplate.cpp.
References clang::C, clang::TemplateTypeParmDecl::Create(), clang::NonTypeTemplateParmDecl::Create(), clang::TemplateParameterList::Create(), and clang::TypeSourceInfo::getType().
Referenced by createBuiltinTemplateParameterList().
|
static |
Definition at line 49 of file DeclTemplate.cpp.
References P.