class FunctionTypeLoc
Declaration
class FunctionTypeLoc : public ConcreteTypeLoc { /* full declaration omitted */ };
Description
Wrapper for source info for functions.
Declared at: clang/include/clang/AST/TypeLoc.h:1383
Inherits from: ConcreteTypeLoc
Method Overview
- public clang::SourceRange getExceptionSpecRange() const
- private clang::SourceRange * getExceptionSpecRangePtr() const
- public unsigned int getExtraLocalDataAlignment() const
- public unsigned int getExtraLocalDataSize() const
- public clang::QualType getInnerType() const
- public clang::SourceLocation getLParenLoc() const
- public clang::SourceLocation getLocalRangeBegin() const
- public clang::SourceLocation getLocalRangeEnd() const
- public clang::SourceRange getLocalSourceRange() const
- public unsigned int getNumParams() const
- public clang::ParmVarDecl * getParam(unsigned int i) const
- public ArrayRef<clang::ParmVarDecl *> getParams() const
- public clang::SourceRange getParensRange() const
- public clang::ParmVarDecl ** getParmArray() const
- public clang::SourceLocation getRParenLoc() const
- public clang::TypeLoc getReturnLoc() const
- private bool hasExceptionSpec() const
- public void initializeLocal(clang::ASTContext & Context, clang::SourceLocation Loc)
- public void setExceptionSpecRange(clang::SourceRange R)
- public void setLParenLoc(clang::SourceLocation Loc)
- public void setLocalRangeBegin(clang::SourceLocation L)
- public void setLocalRangeEnd(clang::SourceLocation L)
- public void setParam(unsigned int i, clang::ParmVarDecl * VD)
- public void setRParenLoc(clang::SourceLocation Loc)
Methods
¶clang::SourceRange getExceptionSpecRange() const
clang::SourceRange getExceptionSpecRange() const
Declared at: clang/include/clang/AST/TypeLoc.h:1438
¶clang::SourceRange* getExceptionSpecRangePtr()
const
clang::SourceRange* getExceptionSpecRangePtr()
const
Declared at: clang/include/clang/AST/TypeLoc.h:1394
¶unsigned int getExtraLocalDataAlignment() const
unsigned int getExtraLocalDataAlignment() const
Declared at: clang/include/clang/AST/TypeLoc.h:1493
¶unsigned int getExtraLocalDataSize() const
unsigned int getExtraLocalDataSize() const
Description
Returns the size of the type source info data block that is specific to this type.
Declared at: clang/include/clang/AST/TypeLoc.h:1488
¶clang::QualType getInnerType() const
clang::QualType getInnerType() const
Declared at: clang/include/clang/AST/TypeLoc.h:1495
¶clang::SourceLocation getLParenLoc() const
clang::SourceLocation getLParenLoc() const
Declared at: clang/include/clang/AST/TypeLoc.h:1418
¶clang::SourceLocation getLocalRangeBegin() const
clang::SourceLocation getLocalRangeBegin() const
Declared at: clang/include/clang/AST/TypeLoc.h:1402
¶clang::SourceLocation getLocalRangeEnd() const
clang::SourceLocation getLocalRangeEnd() const
Declared at: clang/include/clang/AST/TypeLoc.h:1410
¶clang::SourceRange getLocalSourceRange() const
clang::SourceRange getLocalSourceRange() const
Declared at: clang/include/clang/AST/TypeLoc.h:1471
¶unsigned int getNumParams() const
unsigned int getNumParams() const
Declared at: clang/include/clang/AST/TypeLoc.h:1458
¶clang::ParmVarDecl* getParam(unsigned int i) const
clang::ParmVarDecl* getParam(unsigned int i) const
Declared at: clang/include/clang/AST/TypeLoc.h:1464
Parameters
- unsigned int i
¶ArrayRef<clang::ParmVarDecl*> getParams() const
ArrayRef<clang::ParmVarDecl*> getParams() const
Declared at: clang/include/clang/AST/TypeLoc.h:1449
¶clang::SourceRange getParensRange() const
clang::SourceRange getParensRange() const
Declared at: clang/include/clang/AST/TypeLoc.h:1434
¶clang::ParmVarDecl** getParmArray() const
clang::ParmVarDecl** getParmArray() const
Declared at: clang/include/clang/AST/TypeLoc.h:1454
¶clang::SourceLocation getRParenLoc() const
clang::SourceLocation getRParenLoc() const
Declared at: clang/include/clang/AST/TypeLoc.h:1426
¶clang::TypeLoc getReturnLoc() const
clang::TypeLoc getReturnLoc() const
Declared at: clang/include/clang/AST/TypeLoc.h:1467
¶bool hasExceptionSpec() const
bool hasExceptionSpec() const
Declared at: clang/include/clang/AST/TypeLoc.h:1387
¶void initializeLocal(clang::ASTContext& Context,
clang::SourceLocation Loc)
void initializeLocal(clang::ASTContext& Context,
clang::SourceLocation Loc)
Declared at: clang/include/clang/AST/TypeLoc.h:1475
Parameters
- clang::ASTContext& Context
- clang::SourceLocation Loc
¶void setExceptionSpecRange(clang::SourceRange R)
void setExceptionSpecRange(clang::SourceRange R)
Declared at: clang/include/clang/AST/TypeLoc.h:1444
Parameters
¶void setLParenLoc(clang::SourceLocation Loc)
void setLParenLoc(clang::SourceLocation Loc)
Declared at: clang/include/clang/AST/TypeLoc.h:1422
Parameters
¶void setLocalRangeBegin(clang::SourceLocation L)
void setLocalRangeBegin(clang::SourceLocation L)
Declared at: clang/include/clang/AST/TypeLoc.h:1406
Parameters
¶void setLocalRangeEnd(clang::SourceLocation L)
void setLocalRangeEnd(clang::SourceLocation L)
Declared at: clang/include/clang/AST/TypeLoc.h:1414
Parameters
¶void setParam(unsigned int i,
clang::ParmVarDecl* VD)
void setParam(unsigned int i,
clang::ParmVarDecl* VD)
Declared at: clang/include/clang/AST/TypeLoc.h:1465
Parameters
- unsigned int i
- clang::ParmVarDecl* VD
¶void setRParenLoc(clang::SourceLocation Loc)
void setRParenLoc(clang::SourceLocation Loc)
Declared at: clang/include/clang/AST/TypeLoc.h:1430