Lines Matching defs:print

10 // This contains code to print types from Clang's type system.
91 void print(const Type *ty, Qualifiers qs, raw_ostream &OS,
93 void print(QualType T, raw_ostream &OS, StringRef PlaceHolder);
107 void print##CLASS##Before(const CLASS##Type *T, raw_ostream &OS); \
108 void print##CLASS##After(const CLASS##Type *T, raw_ostream &OS);
139 void TypePrinter::print(QualType t, raw_ostream &OS, StringRef PlaceHolder) {
141 print(split.Ty, split.Quals, OS, PlaceHolder);
144 void TypePrinter::print(const Type *T, Qualifiers Quals, raw_ostream &OS,
160 // CanPrefixQualifiers - We prefer to print type qualifiers before the type,
162 // the type is complex. For example if the type is "int*", we *must* print
238 // If we have cv1 T, where T is substituted for cv2 U, only print cv1 - cv2
265 Quals.print(OS, Policy, /*appendSpaceIfNonEmpty=*/true);
267 Quals.print(OS, Policy, /*appendSpaceIfNonEmpty=*/true);
281 print##CLASS##Before(cast<CLASS##Type>(T), OS); \
289 Quals.print(OS, Policy, /*appendSpaceIfNonEmpty=*/!PrevPHIsEmpty.get());
291 Quals.print(OS, Policy, /*appendSpaceIfNonEmpty=*/!PrevPHIsEmpty.get());
307 print##CLASS##After(cast<CLASS##Type>(T), OS); \
415 TypePrinter(InnerPolicy).print(QualType(T->getClass(), 0), OS, StringRef());
562 // FIXME: We prefer to print the size directly here, but have no way
567 print(T->getElementType(), OS, StringRef());
644 print(T->getParamType(i), OS, StringRef());
736 print(T->getReturnType(), OS, StringRef());
792 print(T->getUnderlyingType(), OS, StringRef());
814 print(T->getBaseType(), OS, StringRef());
835 // If the type has been deduced, do not print 'auto'.
848 // If the type has been deduced, do not print 'auto'.
857 print(T->getValueType(), OS, StringRef());
915 // We don't print tags unless this is an elaborated type.
966 // If this is a class template specialization, print the template
1042 T->getTemplateName().print(OS, Policy);
1070 Qualifier->print(OS, Policy);
1102 T->getQualifier()->print(OS, Policy);
1119 T->getQualifier()->print(OS, Policy);
1193 // Nothing to print after.
1199 // If this is a calling convention attribute, don't print the implicit CC from
1205 // Don't print the inert __unsafe_unretained attribute at all.
1239 print(vector->getElementType(), OS, StringRef());
1345 print(T->getBaseType(), OS, StringRef());
1356 print(typeArg, OS, StringRef());
1387 // If we need to print the pointer, print it now.
1434 Args[Arg].print(Policy, ArgOS);
1481 Args[Arg].getArgument().print(Policy, ArgOS);
1516 print(StrOS, Policy);
1540 void Qualifiers::print(raw_ostream &OS, const PrintingPolicy& Policy,
1618 void QualType::print(const Type *ty, Qualifiers qs,
1624 TypePrinter(policy).print(ty, qs, OS, PH);
1632 TypePrinter(policy).print(ty, qs, StrOS, buffer);