[Mlir-commits] [mlir] [mlir][Tosa] Include generated interface declarations outside of namespaces (PR #236103)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Oct 27 06:00:25 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions h -- mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
index c2177f5e2..71c0c27b3 100644
--- a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
+++ b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
@@ -103,7 +103,6 @@ bool isa_tosa_shape_type(mlir::Type t);
constexpr int64_t kInferableDimSize = -1;
} // namespace tosa
-
} // namespace mlir
#define GET_ATTRDEF_CLASSES
``````````
</details>
https://github.com/llvm/llvm-project/pull/236103
More information about the Mlir-commits
mailing list