[llvm] [M68k] Fix ODR violation in GISel code (PR #72797)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 8 00:56:02 PST 2023


================
@@ -25,6 +25,11 @@
 
 using namespace llvm;
 
+struct M68kFormalArgHandler : public M68kIncomingValueHandler {
----------------
nikic wrote:

This should be wrapped into an anonymous namespace `namespace { }`, so it doesn't get exported.

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


More information about the llvm-commits mailing list