================ @@ -1635,6 +1635,13 @@ void TypePrinter::printElaboratedBefore(const ElaboratedType *T, if (T->getKeyword() != ElaboratedTypeKeyword::None) OS << " "; NestedNameSpecifier *Qualifier = T->getQualifier(); + if (Policy.ForcePrintingAsElaboratedType) { + if (Qualifier) + OS << "class "; + else + OS << "struct "; ---------------- AaronBallman wrote:
`union`? `enum`? https://github.com/llvm/llvm-project/pull/67592 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits