Home | History | Annotate | Download | only in AST

Lines Matching refs:TypePrinter

1 //===--- TypePrinter.cpp - Pretty-Print Clang Types -----------------------===//
81 class TypePrinter {
86 explicit TypePrinter(const PrintingPolicy &Policy)
128 void TypePrinter::spaceBeforePlaceHolder(raw_ostream &OS) {
133 void TypePrinter::print(QualType t, raw_ostream &OS, StringRef PlaceHolder) {
138 void TypePrinter::print(const Type *T, Qualifiers Quals, raw_ostream &OS,
152 bool TypePrinter::canPrefixQualifiers(const Type *T,
226 void TypePrinter::printBefore(QualType T, raw_ostream &OS) {
241 void TypePrinter::printBefore(const Type *T,Qualifiers Quals, raw_ostream &OS) {
287 void TypePrinter::printAfter(QualType t, raw_ostream &OS) {
294 void TypePrinter::printAfter(const Type *T, Qualifiers Quals, raw_ostream &OS) {
304 void TypePrinter::printBuiltinBefore(const BuiltinType *T, raw_ostream &OS) {
308 void TypePrinter::printBuiltinAfter(const BuiltinType *T, raw_ostream &OS) { }
310 void TypePrinter::printComplexBefore(const ComplexType *T, raw_ostream &OS) {
314 void TypePrinter::printComplexAfter(const ComplexType *T, raw_ostream &OS) {
318 void TypePrinter::printPointerBefore(const PointerType *T, raw_ostream &OS) {
328 void TypePrinter::printPointerAfter(const PointerType *T, raw_ostream &OS) {
338 void TypePrinter::printBlockPointerBefore(const BlockPointerType *T,
344 void TypePrinter::printBlockPointerAfter(const BlockPointerType *T,
350 void TypePrinter::printLValueReferenceBefore(const LValueReferenceType *T,
361 void TypePrinter::printLValueReferenceAfter(const LValueReferenceType *T,
372 void TypePrinter::printRValueReferenceBefore(const RValueReferenceType *T,
383 void TypePrinter::printRValueReferenceAfter(const RValueReferenceType *T,
394 void TypePrinter::printMemberPointerBefore(const MemberPointerType *T,
406 TypePrinter(InnerPolicy).print(QualType(T->getClass(), 0), OS, StringRef());
410 void TypePrinter::printMemberPointerAfter(const MemberPointerType *T,
421 void TypePrinter::printConstantArrayBefore(const ConstantArrayType *T,
427 void TypePrinter::printConstantArrayAfter(const ConstantArrayType *T,
433 void TypePrinter::printIncompleteArrayBefore(const IncompleteArrayType *T,
439 void TypePrinter::printIncompleteArrayAfter(const IncompleteArrayType *T,
445 void TypePrinter::printVariableArrayBefore(const VariableArrayType *T,
451 void TypePrinter::printVariableArrayAfter(const VariableArrayType *T,
471 void TypePrinter::printDependentSizedArrayBefore(
478 void TypePrinter::printDependentSizedArrayAfter(
488 void TypePrinter::printDependentSizedExtVectorBefore(
493 void TypePrinter::printDependentSizedExtVectorAfter(
503 void TypePrinter::printVectorBefore(const VectorType *T, raw_ostream &OS) {
539 void TypePrinter::printVectorAfter(const VectorType *T, raw_ostream &OS) {
543 void TypePrinter::printExtVectorBefore(const ExtVectorType *T,
547 void TypePrinter::printExtVectorAfter(const ExtVectorType *T, raw_ostream &OS) {
581 void TypePrinter::printFunctionProtoBefore(const FunctionProtoType *T,
596 void TypePrinter::printFunctionProtoAfter(const FunctionProtoType *T,
686 void TypePrinter::printFunctionNoProtoBefore(const FunctionNoProtoType *T,
694 void TypePrinter::printFunctionNoProtoAfter(const FunctionNoProtoType *T,
707 void TypePrinter::printTypeSpec(const NamedDecl *D, raw_ostream &OS) {
713 void TypePrinter::printUnresolvedUsingBefore(const UnresolvedUsingType *T,
717 void TypePrinter::printUnresolvedUsingAfter(const UnresolvedUsingType *T,
720 void TypePrinter::printTypedefBefore(const TypedefType *T, raw_ostream &OS) {
723 void TypePrinter::printTypedefAfter(const TypedefType *T, raw_ostream &OS) { }
725 void TypePrinter::printTypeOfExprBefore(const TypeOfExprType *T,
731 void TypePrinter::printTypeOfExprAfter(const TypeOfExprType *T,
734 void TypePrinter::printTypeOfBefore(const TypeOfType *T, raw_ostream &OS) {
740 void TypePrinter::printTypeOfAfter(const TypeOfType *T, raw_ostream &OS) { }
742 void TypePrinter::printDecltypeBefore(const DecltypeType *T, raw_ostream &OS) {
748 void TypePrinter::printDecltypeAfter(const DecltypeType *T, raw_ostream &OS) { }
750 void TypePrinter::printUnaryTransformBefore(const UnaryTransformType *T,
765 void TypePrinter::printUnaryTransformAfter(const UnaryTransformType *T,
777 void TypePrinter::printAutoBefore(const AutoType *T, raw_ostream &OS) {
786 void TypePrinter::printAutoAfter(const AutoType *T, raw_ostream &OS) {
792 void TypePrinter::printAtomicBefore(const AtomicType *T, raw_ostream &OS) {
800 void TypePrinter::printAtomicAfter(const AtomicType *T, raw_ostream &OS) { }
803 void TypePrinter::AppendScope(DeclContext *DC, raw_ostream &OS) {
836 void TypePrinter::printTag(TagDecl *D, raw_ostream &OS) {
920 void TypePrinter::printRecordBefore(const RecordType *T, raw_ostream &OS) {
923 void TypePrinter::printRecordAfter(const RecordType *T, raw_ostream &OS) { }
925 void TypePrinter::printEnumBefore(const EnumType *T, raw_ostream &OS) {
928 void TypePrinter::printEnumAfter(const EnumType *T, raw_ostream &OS) { }
930 void TypePrinter::printTemplateTypeParmBefore(const TemplateTypeParmType *T,
938 void TypePrinter::printTemplateTypeParmAfter(const TemplateTypeParmType *T,
941 void TypePrinter::printSubstTemplateTypeParmBefore(
947 void TypePrinter::printSubstTemplateTypeParmAfter(
954 void TypePrinter::printSubstTemplateTypeParmPackBefore(
960 void TypePrinter::printSubstTemplateTypeParmPackAfter(
967 void TypePrinter::printTemplateSpecializationBefore(
979 void TypePrinter::printTemplateSpecializationAfter(
983 void TypePrinter::printInjectedClassNameBefore(const InjectedClassNameType *T,
987 void TypePrinter::printInjectedClassNameAfter(const InjectedClassNameType *T,
990 void TypePrinter::printElaboratedBefore(const ElaboratedType *T,
1002 void TypePrinter::printElaboratedAfter(const ElaboratedType *T,
1008 void TypePrinter::printParenBefore(const ParenType *T, raw_ostream &OS) {
1015 void TypePrinter::printParenAfter(const ParenType *T, raw_ostream &OS) {
1023 void TypePrinter::printDependentNameBefore(const DependentNameType *T,
1034 void TypePrinter::printDependentNameAfter(const DependentNameType *T,
1037 void TypePrinter::printDependentTemplateSpecializationBefore(
1054 void TypePrinter::printDependentTemplateSpecializationAfter(
1057 void TypePrinter::printPackExpansionBefore(const PackExpansionType *T,
1061 void TypePrinter::printPackExpansionAfter(const PackExpansionType *T,
1067 void TypePrinter::printAttributedBefore(const AttributedType *T,
1077 void TypePrinter::printAttributedAfter(const AttributedType *T,
1179 void TypePrinter::printObjCInterfaceBefore(const ObjCInterfaceType *T,
1184 void TypePrinter::printObjCInterfaceAfter(const ObjCInterfaceType *T,
1187 void TypePrinter::printObjCObjectBefore(const ObjCObjectType *T,
1206 void TypePrinter::printObjCObjectAfter(const ObjCObjectType *T,
1212 void TypePrinter::printObjCObjectPointerBefore(const ObjCObjectPointerType *T,
1244 void TypePrinter::printObjCObjectPointerAfter(const ObjCObjectPointerType *T,
1482 TypePrinter(policy).print(ty, qs, OS, PH);
1490 TypePrinter(policy).print(ty, qs, StrOS, buffer);