[PATCH] D123298: [NFC] [AST] Reduce the size of TemplateParmPosition

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 7 06:07:53 PDT 2022


erichkeane added a comment.

> I think people instantiate to deeper template depths than they typically have for template parameters, so having a deeper depth made sense to me.

Hmm... the cases I can think of make me think this isn't necessarily true... It is very common to template-recurse on an integer-sequence of some sort, which would result in depth and position being roughly the same.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123298



More information about the cfe-commits mailing list