[clang] [clang-cl] Fix value of __FUNCTION__ in MSVC mode. (PR #67592)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 15 06:19:27 PST 2024
================
@@ -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
More information about the cfe-commits
mailing list