[PATCH] D131595: [MC] Avoid calling vector<FieldInfo> members before FieldInfo is defined
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 10 13:07:48 PDT 2022
mstorsjo added a comment.
After this commit, GCC 9 produces warnings on this file:
../lib/MC/MCParser/MasmParser.cpp:227:1: warning: ‘{anonymous}::StructFieldInfo::StructFieldInfo(std::vector<{anonymous}::StructInitializer>&&, {anonymous}::StructInfo)’ defined but not used [-Wunused-function]
227 | StructFieldInfo::StructFieldInfo(std::vector<StructInitializer> &&V,
| ^~~~~~~~~~~~~~~
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