clang API Documentation
#include <TypeLoc.h>


Public Member Functions | |
| SourceLocation | getLAngleLoc () const |
| void | setLAngleLoc (SourceLocation Loc) |
| SourceLocation | getRAngleLoc () const |
| void | setRAngleLoc (SourceLocation Loc) |
| unsigned | getNumProtocols () const |
| SourceLocation | getProtocolLoc (unsigned i) const |
| void | setProtocolLoc (unsigned i, SourceLocation Loc) |
| ObjCProtocolDecl * | getProtocol (unsigned i) const |
| bool | hasBaseTypeAsWritten () const |
| void | setHasBaseTypeAsWritten (bool HasBaseType) |
| TypeLoc | getBaseLoc () const |
| SourceRange | getLocalSourceRange () const |
| Get the local source range. | |
| void | initializeLocal (ASTContext &Context, SourceLocation Loc) |
| unsigned | getExtraLocalDataSize () const |
| unsigned | getExtraLocalDataAlignment () const |
| QualType | getInnerType () const |
| TypeLoc clang::ObjCObjectTypeLoc::getBaseLoc | ( | ) | const [inline] |
Definition at line 863 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getInnerTypeLoc().
| unsigned clang::ObjCObjectTypeLoc::getExtraLocalDataAlignment | ( | ) | const [inline] |
| unsigned clang::ObjCObjectTypeLoc::getExtraLocalDataSize | ( | ) | const [inline] |
| QualType clang::ObjCObjectTypeLoc::getInnerType | ( | ) | const [inline] |
Reimplemented from clang::ConcreteTypeLoc< UnqualTypeLoc, ObjCObjectTypeLoc, ObjCObjectType, ObjCProtocolListLocInfo >.
Reimplemented in clang::ConcreteTypeLoc< ObjCObjectTypeLoc, ObjCInterfaceTypeLoc, ObjCInterfaceType, ObjCInterfaceLocInfo >.
Definition at line 887 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getTypePtr().
| SourceLocation clang::ObjCObjectTypeLoc::getLAngleLoc | ( | ) | const [inline] |
Definition at line 823 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().
| SourceRange clang::ObjCObjectTypeLoc::getLocalSourceRange | ( | ) | const [inline] |
Get the local source range.
Reimplemented from clang::TypeLoc.
Reimplemented in clang::ObjCInterfaceTypeLoc.
| unsigned clang::ObjCObjectTypeLoc::getNumProtocols | ( | ) | const [inline] |
Definition at line 837 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getTypePtr().
| ObjCProtocolDecl* clang::ObjCObjectTypeLoc::getProtocol | ( | unsigned | i | ) | const [inline] |
Definition at line 850 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getTypePtr().
| SourceLocation clang::ObjCObjectTypeLoc::getProtocolLoc | ( | unsigned | i | ) | const [inline] |
| SourceLocation clang::ObjCObjectTypeLoc::getRAngleLoc | ( | ) | const [inline] |
Definition at line 830 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().
| bool clang::ObjCObjectTypeLoc::hasBaseTypeAsWritten | ( | ) | const [inline] |
Definition at line 855 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().
| void clang::ObjCObjectTypeLoc::initializeLocal | ( | ASTContext & | Context, |
| SourceLocation | Loc | ||
| ) | [inline] |
Reimplemented in clang::ObjCInterfaceTypeLoc.
| void clang::ObjCObjectTypeLoc::setHasBaseTypeAsWritten | ( | bool | HasBaseType | ) | [inline] |
Definition at line 859 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().
| void clang::ObjCObjectTypeLoc::setLAngleLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 826 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().
| void clang::ObjCObjectTypeLoc::setProtocolLoc | ( | unsigned | i, |
| SourceLocation | Loc | ||
| ) | [inline] |
| void clang::ObjCObjectTypeLoc::setRAngleLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 833 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().