[llvm] [SystemZ][z/OS] Implement yaml2obj for GOFF Object File Format (PR #71445)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 00:36:00 PST 2023


================
@@ -352,7 +354,7 @@ void GOFFState::writeSection(GOFFYAML::Section Sec) {
 
 void GOFFState::writeRelocationDirectory(GOFFYAML::Relocations Rels) {
   size_t Size = 0;
-  for (auto &Rel : Rels.Relocs) {
+  for (const llvm::GOFFYAML::Relocation &Rel : Rels.Relocs) {
----------------
jh7370 wrote:

Nit: I'm fairly confident here and below you don't need `llvm::`.

https://github.com/llvm/llvm-project/pull/71445


More information about the llvm-commits mailing list