[Mlir-commits] [mlir] Add AsmParser::parseDecimalInteger. (PR #96255)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Jul 10 15:54:02 PDT 2024


================
@@ -308,6 +309,51 @@ OptionalParseResult Parser::parseOptionalInteger(APInt &result) {
   return success();
 }
 
+namespace {
+bool isBinOrHexOrOctIndicator(char c) {
+  return (llvm::toLower(c) == 'x' || llvm::toLower(c) == 'b' ||
----------------
quartersdg wrote:

thanks!

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


More information about the Mlir-commits mailing list