[llvm-branch-commits] [llvm] b858dfc - Fix formatting

2024-12-13 Thread Ian Wood via llvm-branch-commits

Author: Ian Wood
Date: 2024-12-13T21:52:05-08:00
New Revision: b858dfc01b6da1675f3ed99416063e118dd27324

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

LOG: Fix formatting

Added: 


Modified: 
llvm/include/llvm/Support/TypeName.h

Removed: 




diff  --git a/llvm/include/llvm/Support/TypeName.h 
b/llvm/include/llvm/Support/TypeName.h
index 9547e76a7fa79b..518a39ee02a53a 100644
--- a/llvm/include/llvm/Support/TypeName.h
+++ b/llvm/include/llvm/Support/TypeName.h
@@ -23,8 +23,7 @@ namespace llvm {
 /// The returned StringRef will point into a static storage duration string.
 /// However, it may not be null terminated and may be some strangely aligned
 /// inner substring of a larger string.
-template 
-inline StringRef getTypeName() {
+template  inline StringRef getTypeName() {
 #if defined(__clang__) || defined(__GNUC__)
   StringRef Name = __PRETTY_FUNCTION__;
 



___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [mlir] b3e60ba - Fix formatting

2025-06-03 Thread Ian Wood via llvm-branch-commits

Author: Ian Wood
Date: 2025-06-03T10:30:22-07:00
New Revision: b3e60ba212782619b5c8c12542a4d9ecd539a652

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

LOG: Fix formatting

Signed-off-by: Ian Wood 

Added: 


Modified: 
mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp

Removed: 




diff  --git a/mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp 
b/mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
index ed40a080441bc..1a04d702e0559 100644
--- a/mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
+++ b/mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
@@ -315,11 +315,11 @@ SmallVector 
SliceFromCollapseHelper::getExtractSliceParams(
 // have proven that these are not sliced. In this case we just take
 // the full extent of each dimension in the reassociation list.
 if (linearizedDimensions[it.index()]) {
-  llvm::append_range(
-  offsetsSizesAndStrides,
-  llvm::map_range(it.value(), [&](int64_t idx) -> Range {
-return {zeroAttr, collapseShapeInputShape[idx], oneAttr};
-  }));
+  llvm::append_range(offsetsSizesAndStrides,
+ llvm::map_range(it.value(), [&](int64_t idx) -> Range 
{
+   return {zeroAttr, collapseShapeInputShape[idx],
+   oneAttr};
+ }));
   continue;
 }
 



___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits