clang API Documentation
Holds a QualType and a TypeSourceInfo* that came out of a declarator parsing. More...
#include <LocInfoType.h>
Public Member Functions | |
QualType | getType () const |
TypeSourceInfo * | getTypeSourceInfo () const |
void | getAsStringInternal (std::string &Str, const PrintingPolicy &Policy) const |
Static Public Member Functions | |
static bool | classof (const Type *T) |
Friends | |
class | Sema |
Holds a QualType and a TypeSourceInfo* that came out of a declarator parsing.
LocInfoType is a "transient" type, only needed for passing to/from Parser and Sema, when we want to preserve type source info for a parsed type. It will not participate in the type system semantics in any way.
Definition at line 29 of file LocInfoType.h.
static bool clang::LocInfoType::classof | ( | const Type * | T | ) | [inline, static] |
Definition at line 55 of file LocInfoType.h.
References clang::Type::getTypeClass().
void LocInfoType::getAsStringInternal | ( | std::string & | Str, |
const PrintingPolicy & | Policy | ||
) | const |
Definition at line 3866 of file SemaType.cpp.
QualType clang::LocInfoType::getType | ( | ) | const [inline] |
Definition at line 49 of file LocInfoType.h.
References clang::Type::getCanonicalTypeInternal().
TypeSourceInfo* clang::LocInfoType::getTypeSourceInfo | ( | ) | const [inline] |
Definition at line 50 of file LocInfoType.h.
friend class Sema [friend] |
Definition at line 46 of file LocInfoType.h.