[llvm] [PowerPC] Add error for incorrect use of memory operands (PR #114277)

Hubert Tong via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 18:58:16 PST 2024


================
@@ -130,6 +131,8 @@ class PPCAsmParser : public MCTargetAsmParser {
 
   void processInstruction(MCInst &Inst, const OperandVector &Ops);
 
+  bool hasMemOp(const OperandVector &Ops);
----------------
hubert-reinterpretcast wrote:

It looks to me that this could be a static function at namespace scope in this `.cpp` file.

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


More information about the llvm-commits mailing list