class TypeSourceInfo
Declaration
class TypeSourceInfo { /* full declaration omitted */ };
Description
A container of type source information. A client can read the relevant info using TypeLoc wrappers, e.g:
Declared at: clang/include/clang/AST/Type.h:6530
Member Variables
- private clang::QualType Ty
Method Overview
- private TypeSourceInfo(clang::QualType ty)
- public clang::QualType getType() const
- public clang::TypeLoc getTypeLoc() const
- public void overrideType(clang::QualType T)
Methods
¶TypeSourceInfo(clang::QualType ty)
TypeSourceInfo(clang::QualType ty)
Declared at: clang/include/clang/AST/Type.h:6537
Parameters
¶clang::QualType getType() const
clang::QualType getType() const
Description
Return the type wrapped by this type source info.
Declared at: clang/include/clang/AST/Type.h:6541
¶clang::TypeLoc getTypeLoc() const
clang::TypeLoc getTypeLoc() const
Description
Return the TypeLoc wrapper for the type source info.
Declared at: clang/include/clang/AST/Type.h:6544
¶void overrideType(clang::QualType T)
void overrideType(clang::QualType T)
Description
Override the type stored in this TypeSourceInfo. Use with caution!
Declared at: clang/include/clang/AST/Type.h:6547