clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::LocInfoType Class Reference

Holds a QualType and a TypeSourceInfo* that came out of a declarator parsing. More...

#include <LocInfoType.h>

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

List of all members.

Public Member Functions

QualType getType () const
TypeSourceInfogetTypeSourceInfo () const
void getAsStringInternal (std::string &Str, const PrintingPolicy &Policy) const

Static Public Member Functions

static bool classof (const Type *T)

Friends

class Sema

Detailed Description

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.


Member Function Documentation

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.

Definition at line 49 of file LocInfoType.h.

References clang::Type::getCanonicalTypeInternal().

Definition at line 50 of file LocInfoType.h.


Friends And Related Function Documentation

friend class Sema [friend]

Definition at line 46 of file LocInfoType.h.


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