[PATCH] D131595: [MC] Avoid calling vector<FieldInfo> members before FieldInfo is defined

Ilya Biryukov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 11 02:55:57 PDT 2022


ilya-biryukov added a comment.

This change did not really change anything in that regard, I'm not sure why this warning was suppressed before.
It's possible that moving the constructor out of the class body had an effect of making it non-inline, which had an effect on the warning, but I'm not sure.

Sent a small refactoring rG7c80c4d67716308dc0f382be88bbe73dd293892c <https://reviews.llvm.org/rG7c80c4d67716308dc0f382be88bbe73dd293892c> that should fix it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131595



More information about the llvm-commits mailing list