clang 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::BuiltinTemplateDecl Class Reference

Represents the builtin template declaration which is used to implement __make_integer_seq and other builtin templates. More...

#include "clang/AST/DeclTemplate.h"

Inheritance diagram for clang::BuiltinTemplateDecl:
Inheritance graph
[legend]

Public Member Functions

SourceRange getSourceRange () const override LLVM_READONLY
 Source range that this declaration covers.
 
BuiltinTemplateKind getBuiltinTemplateKind () const
 
- Public Member Functions inherited from clang::TemplateDecl
TemplateParameterListgetTemplateParameters () const
 Get the list of template parameters.
 
void getAssociatedConstraints (llvm::SmallVectorImpl< const Expr * > &AC) const
 Get the total constraint-expression associated with this template, including constraint-expressions derived from the requires-clause, trailing requires-clause (for functions and methods) and constrained template parameters.
 
bool hasAssociatedConstraints () const
 
NamedDeclgetTemplatedDecl () const
 Get the underlying, templated declaration.
 
bool isTypeAlias () const
 
SourceRange getSourceRange () const override LLVM_READONLY
 Source range that this declaration covers.
 
void setTemplateParameters (TemplateParameterList *TParams)
 
void init (NamedDecl *NewTemplatedDecl)
 Initialize the underlying templated declaration.
 
- Public Member Functions inherited from clang::NamedDecl
IdentifierInfogetIdentifier () const
 Get the identifier that names this declaration, if there is one.
 
StringRef getName () const
 Get the name of identifier for this declaration as a StringRef.
 
std::string getNameAsString () const
 Get a human-readable name for the declaration, even if it is one of the special kinds of names (C++ constructor, Objective-C selector, etc).
 
virtual void printName (raw_ostream &OS, const PrintingPolicy &Policy) const
 Pretty-print the unqualified name of this declaration.
 
void printName (raw_ostream &OS) const
 Calls printName() with the ASTContext printing policy from the decl.
 
DeclarationName getDeclName () const
 Get the actual, stored name of the declaration, which may be a special name.
 
void setDeclName (DeclarationName N)
 Set the name of this declaration.
 
void printQualifiedName (raw_ostream &OS) const
 Returns a human-readable qualified name for this declaration, like A::B::i, for i being member of namespace A::B.
 
void printQualifiedName (raw_ostream &OS, const PrintingPolicy &Policy) const
 
void printNestedNameSpecifier (raw_ostream &OS) const
 Print only the nested name specifier part of a fully-qualified name, including the '::' at the end.
 
void printNestedNameSpecifier (raw_ostream &OS, const PrintingPolicy &Policy) const
 
std::string getQualifiedNameAsString () const
 
virtual void getNameForDiagnostic (raw_ostream &OS, const PrintingPolicy &Policy, bool Qualified) const
 Appends a human-readable name for this declaration into the given stream.
 
bool declarationReplaces (const NamedDecl *OldD, bool IsKnownNewer=true) const
 Determine whether this declaration, if known to be well-formed within its context, will replace the declaration OldD if introduced into scope.