clang API Documentation

Public Member Functions
clang::FunctionTypeLoc Class Reference

Wrapper for source info for functions. More...

#include <TypeLoc.h>

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

List of all members.

Public Member Functions

SourceLocation getLocalRangeBegin () const
void setLocalRangeBegin (SourceLocation L)
SourceLocation getLocalRangeEnd () const
void setLocalRangeEnd (SourceLocation L)
bool getTrailingReturn () const
void setTrailingReturn (bool Trailing)
ArrayRef< ParmVarDecl * > getParams () const
ParmVarDecl ** getParmArray () const
unsigned getNumArgs () const
ParmVarDeclgetArg (unsigned i) const
void setArg (unsigned i, ParmVarDecl *VD)
TypeLoc getResultLoc () const
SourceRange getLocalSourceRange () const
 Get the local source range.
void initializeLocal (ASTContext &Context, SourceLocation Loc)
unsigned getExtraLocalDataSize () const
 Returns the size of the type source info data block that is specific to this type.
QualType getInnerType () const

Detailed Description

Wrapper for source info for functions.

Definition at line 1068 of file TypeLoc.h.


Member Function Documentation

ParmVarDecl* clang::FunctionTypeLoc::getArg ( unsigned  i) const [inline]
unsigned clang::FunctionTypeLoc::getExtraLocalDataSize ( ) const [inline]

Returns the size of the type source info data block that is specific to this type.

Reimplemented from clang::ConcreteTypeLoc< UnqualTypeLoc, FunctionTypeLoc, FunctionType, FunctionLocInfo >.

Definition at line 1129 of file TypeLoc.h.

QualType clang::FunctionTypeLoc::getInnerType ( ) const [inline]
SourceLocation clang::FunctionTypeLoc::getLocalRangeBegin ( ) const [inline]
SourceLocation clang::FunctionTypeLoc::getLocalRangeEnd ( ) const [inline]
SourceRange clang::FunctionTypeLoc::getLocalSourceRange ( ) const [inline]

Get the local source range.

Reimplemented from clang::TypeLoc.

Definition at line 1115 of file TypeLoc.h.

unsigned clang::FunctionTypeLoc::getNumArgs ( ) const [inline]
ArrayRef<ParmVarDecl *> clang::FunctionTypeLoc::getParams ( ) const [inline]

Definition at line 1094 of file TypeLoc.h.

ParmVarDecl** clang::FunctionTypeLoc::getParmArray ( ) const [inline]
TypeLoc clang::FunctionTypeLoc::getResultLoc ( ) const [inline]
bool clang::FunctionTypeLoc::getTrailingReturn ( ) const [inline]
void clang::FunctionTypeLoc::initializeLocal ( ASTContext Context,
SourceLocation  Loc 
) [inline]

Definition at line 1119 of file TypeLoc.h.

References NULL.

void clang::FunctionTypeLoc::setArg ( unsigned  i,
ParmVarDecl VD 
) [inline]

Definition at line 1109 of file TypeLoc.h.

Referenced by clang::TypeLocReader::VisitFunctionTypeLoc().

void clang::FunctionTypeLoc::setLocalRangeBegin ( SourceLocation  L) [inline]
void clang::FunctionTypeLoc::setLocalRangeEnd ( SourceLocation  L) [inline]
void clang::FunctionTypeLoc::setTrailingReturn ( bool  Trailing) [inline]

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