[llvm] [NFC][llvm][object][GOFF] cleanup GOFFObjectTests (PR #212286)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 28 01:44:43 PDT 2026
================
@@ -11,26 +11,91 @@
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Testing/Support/Error.h"
#include "gtest/gtest.h"
+#include <vector>
----------------
jh7370 wrote:
Nit: LLVM coding standards says to include only the minimal necessary set of includes and permits indirect inclusion. In this case, `<vector>` is included by ArrayRef.h, which is in turn included by MemoryBuffer.h, so it doesn't need also including here.
https://github.com/llvm/llvm-project/pull/212286
More information about the llvm-commits
mailing list