Changeset View
Changeset View
Standalone View
Standalone View
clang/include/clang/AST/TypeLoc.h
Show First 20 Lines • Show All 111 Lines • ▼ Show 20 Lines | #include "clang/AST/TypeNodes.inc" | ||||
Qualified | Qualified | ||||
}; | }; | ||||
TypeLocClass getTypeLocClass() const { | TypeLocClass getTypeLocClass() const { | ||||
if (getType().hasLocalQualifiers()) return Qualified; | if (getType().hasLocalQualifiers()) return Qualified; | ||||
return (TypeLocClass) getType()->getTypeClass(); | return (TypeLocClass) getType()->getTypeClass(); | ||||
} | } | ||||
llvm::StringRef getTypeLocClassName() const; | |||||
bool isNull() const { return !Ty; } | bool isNull() const { return !Ty; } | ||||
explicit operator bool() const { return Ty; } | explicit operator bool() const { return Ty; } | ||||
/// Returns the size of type source info data block for the given type. | /// Returns the size of type source info data block for the given type. | ||||
static unsigned getFullDataSizeForType(QualType Ty); | static unsigned getFullDataSizeForType(QualType Ty); | ||||
/// Returns the alignment of type source info data block for | /// Returns the alignment of type source info data block for | ||||
/// the given type. | /// the given type. | ||||
▲ Show 20 Lines • Show All 2,547 Lines • Show Last 20 Lines |