[Mlir-commits] [mlir] f608269 - [MLIR] Fix a small formatting issue in AsmPrinter.cpp (#81214)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Feb 8 17:50:45 PST 2024


Author: Abdurrahman Akkas
Date: 2024-02-08T17:50:41-08:00
New Revision: f60826917aff102450a470dee85208fd578685c4

URL: https://github.com/llvm/llvm-project/commit/f60826917aff102450a470dee85208fd578685c4
DIFF: https://github.com/llvm/llvm-project/commit/f60826917aff102450a470dee85208fd578685c4.diff

LOG: [MLIR] Fix a small formatting issue in AsmPrinter.cpp (#81214)

Introduced in 76ce4736721a6e9030210bda6df0ad8a8f478a19

Added: 
    

Modified: 
    mlir/lib/IR/AsmPrinter.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/IR/AsmPrinter.cpp b/mlir/lib/IR/AsmPrinter.cpp
index 6b8b7473bf0f8a..6bed90936465c8 100644
--- a/mlir/lib/IR/AsmPrinter.cpp
+++ b/mlir/lib/IR/AsmPrinter.cpp
@@ -74,11 +74,9 @@ MLIRContext *AsmParser::getContext() const { return getBuilder().getContext(); }
 /// Parse a type list.
 /// This is out-of-line to work-around https://github.com/llvm/llvm-project/issues/62918
 ParseResult AsmParser::parseTypeList(SmallVectorImpl<Type> &result) {
-    return parseCommaSeparatedList(
-        [&]() { return parseType(result.emplace_back()); });
-  }
-
-
+  return parseCommaSeparatedList(
+      [&]() { return parseType(result.emplace_back()); });
+}
 
 //===----------------------------------------------------------------------===//
 // DialectAsmPrinter


        


More information about the Mlir-commits mailing list