[PATCH] D89072: [CodeView] Emit static data members as S_CONSTANTs.

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 26 11:41:53 PDT 2020


rnk accepted this revision.
rnk added a comment.

lgtm

Please fix this case in a follow-up, though:

  static const signed int gv_signed = 0xFFFFFFFF;
  const signed int useit2() { return gv_signed; }

I think your `APSInt` code only works on static data member constants.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89072



More information about the cfe-commits mailing list