[PATCH] D139989: [clang][DebugInfo] Add DW_AT_default_value support for template template parameters

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 15 12:30:32 PST 2022


dblaikie accepted this revision.
dblaikie added a comment.

Looks good to me - we'd usually split the LLVM part from the Clang part, but I don't think we have fine grained unit tests for DIBuilder (could you check - if we do, then the LLVM part should go separately, with unit test coverage, then the Clang part can go in that uses it) & /maybe/ it's worth having a default value for the `IsDefault` argument, so any existing callers aren't broken, but I don't feel strongly about it if it all works, the number of external callers is probably quite small/not a big deal.

(if you do split up the clang/llvm parts into separate commits, no need to send them as separate reviews - you can commit them directly)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139989



More information about the cfe-commits mailing list