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)
SourceLocation getLParenLoc () const
void setLParenLoc (SourceLocation Loc)
SourceLocation getRParenLoc () const
void setRParenLoc (SourceLocation Loc)
SourceRange getParensRange () const
ArrayRef< ParmVarDecl * > getParams () const
ParmVarDecl ** getParmArray () const
unsigned getNumParams () const
ParmVarDeclgetParam (unsigned i) const
void setParam (unsigned i, ParmVarDecl *VD)
TypeLoc getReturnLoc () 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.
unsigned getExtraLocalDataAlignment () const
QualType getInnerType () const

Detailed Description

Wrapper for source info for functions.

Definition at line 1173 of file TypeLoc.h.


Member Function Documentation

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 1246 of file TypeLoc.h.

Get the local source range.

Reimplemented from clang::TypeLoc.

Definition at line 1231 of file TypeLoc.h.

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

Definition at line 1210 of file TypeLoc.h.

Definition at line 1206 of file TypeLoc.h.

void clang::FunctionTypeLoc::initializeLocal ( ASTContext Context,
SourceLocation  Loc 
) [inline]

Definition at line 1235 of file TypeLoc.h.

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

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