[Mlir-commits] [mlir] [mlir] Add metadata to Diagnostic. (PR #99398)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Jul 17 15:44:28 PDT 2024
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 f6add66b720f85bf1092af7d6702b7397da57349 b39b82443ee0a9af605247ae5eefda5980dfd6bf --extensions h -- mlir/include/mlir/IR/Diagnostics.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/include/mlir/IR/Diagnostics.h b/mlir/include/mlir/IR/Diagnostics.h
index 1ef902ae54..dc8a1a4a91 100644
--- a/mlir/include/mlir/IR/Diagnostics.h
+++ b/mlir/include/mlir/IR/Diagnostics.h
@@ -272,7 +272,7 @@ public:
}
/// Returns the current list of diagnostic metadata.
- SmallVector<DiagnosticArgument, 1>& getMetaData() { return metadata; }
+ SmallVector<DiagnosticArgument, 1> &getMetaData() { return metadata; }
private:
Diagnostic(const Diagnostic &rhs) = delete;
``````````
</details>
https://github.com/llvm/llvm-project/pull/99398
More information about the Mlir-commits
mailing list