[PATCH] D110216: [clang] retain type sugar in auto / template argument deduction

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 27 09:43:00 PDT 2021


mizvekov added a comment.

FYI I just realized some other tests I never run locally relied on the former behavior of the ElaboratedType printer.

I will see what looks more reasonable, but I think the defaults are tuned so the type printer will output code that looks close to what it was as written,
and this InlayHints was relying on behavior that was not actually supported there. We might have to split this off into a separate policy flag or something like that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110216/new/

https://reviews.llvm.org/D110216



More information about the cfe-commits mailing list