================
@@ -8691,7 +8648,19 @@ unsigned 
AArch64AsmParser::validateTargetOperandClass(MCParsedAsmOperand &AsmOp,
   }
 }
 
-ParseStatus AArch64AsmParser::tryParseGPRSeqPair(OperandVector &Operands) {
+template <bool AllowXZRPair>
+ParseStatus
+AArch64AsmParser::tryParseConsecutiveGPRSeqPair(OperandVector &Operands) {
+  const char *FirstRegExpected =
+      AllowXZRPair ? "expected xzr/xzr or the first even register of a "
+                     "consecutive 64-bit register pair"
+                   : "expected first even register of a consecutive same-size "
+                     "even/odd register pair";
----------------
jthackray wrote:

Thanks for the suggestion, Marian. Can we use `std::format()` as it's C++20, 
and llvm is still compiled as C++17? It would make this a lot neater.

https://github.com/llvm/llvm-project/pull/182410
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to