clang API Documentation

Public Member Functions | Static Public Member Functions
clang::TemplateSpecializationTypeLoc Class Reference

#include <TypeLoc.h>

Inheritance diagram for clang::TemplateSpecializationTypeLoc:
Inheritance graph
[legend]
Collaboration diagram for clang::TemplateSpecializationTypeLoc:
Collaboration graph
[legend]

List of all members.

Public Member Functions

SourceLocation getTemplateKeywordLoc () const
void setTemplateKeywordLoc (SourceLocation Loc)
SourceLocation getLAngleLoc () const
void setLAngleLoc (SourceLocation Loc)
SourceLocation getRAngleLoc () const
void setRAngleLoc (SourceLocation Loc)
unsigned getNumArgs () const
void setArgLocInfo (unsigned i, TemplateArgumentLocInfo AI)
TemplateArgumentLocInfo getArgLocInfo (unsigned i) const
TemplateArgumentLoc getArgLoc (unsigned i) const
SourceLocation getTemplateNameLoc () const
void setTemplateNameLoc (SourceLocation Loc)
void copy (TemplateSpecializationTypeLoc Loc)
 
  • Copy the location information from the given info.

SourceRange getLocalSourceRange () const
 Get the local source range.
void initializeLocal (ASTContext &Context, SourceLocation Loc)
unsigned getExtraLocalDataSize () const
unsigned getExtraLocalDataAlignment () const

Static Public Member Functions

static void initializeArgLocs (ASTContext &Context, unsigned NumArgs, const TemplateArgument *Args, TemplateArgumentLocInfo *ArgInfos, SourceLocation Loc)

Detailed Description

Definition at line 1360 of file TypeLoc.h.


Member Function Documentation

  • Copy the location information from the given info.

Definition at line 1409 of file TypeLoc.h.

References clang::TypeLoc::Data, and clang::TypeLoc::getFullDataSize().

Definition at line 1393 of file TypeLoc.h.

Get the local source range.

Reimplemented from clang::TypeLoc.

Definition at line 1420 of file TypeLoc.h.

void TemplateSpecializationTypeLoc::initializeArgLocs ( ASTContext Context,
unsigned  NumArgs,
const TemplateArgument Args,
TemplateArgumentLocInfo ArgInfos,
SourceLocation  Loc 
) [static]

The documentation for this class was generated from the following files: