This is an automated email from the ASF dual-hosted git repository.
sanirudh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 4641b40bd9 [Minor] Fix Compilation Warnings (#15154)
4641b40bd9 is described below
commit 4641b40bd9d8afca8918b6cbd6703df297e78aba
Author: Siyuan Feng <[email protected]>
AuthorDate: Mon Jun 26 09:19:25 2023 +0800
[Minor] Fix Compilation Warnings (#15154)
* [Minor] Fix Compilation Warnings
This PR fixes serval compilation warnings with clang-15
* fix
---
src/arith/iter_affine_map.cc | 2 +-
src/target/source/codegen_c_host.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/arith/iter_affine_map.cc b/src/arith/iter_affine_map.cc
index f6d0020f57..f8a36daf53 100644
--- a/src/arith/iter_affine_map.cc
+++ b/src/arith/iter_affine_map.cc
@@ -226,7 +226,7 @@ class IterMapRewriter : public ExprMutator {
/**
* Rewrite expr to iter sum pattern
- * \parma expr The input expression
+ * \param expr The input expression
* \return The rewritten iter sum pattern
* \note The result base may contain items that is not
*/
diff --git a/src/target/source/codegen_c_host.h
b/src/target/source/codegen_c_host.h
index c4db634705..694104afc0 100644
--- a/src/target/source/codegen_c_host.h
+++ b/src/target/source/codegen_c_host.h
@@ -61,7 +61,7 @@ class CodeGenCHost : public CodeGenC {
// overload visitor functions
void VisitExpr_(const BroadcastNode* op, std::ostream& os) final; //
NOLINT(*)
- void VisitExpr_(const CallNode* op, std::ostream& os); //
NOLINT(*)
+ void VisitExpr_(const CallNode* op, std::ostream& os) override; //
NOLINT(*)
// overload min and max to use the ternary operator, so we don't rely on the
// standard library implementations
void VisitExpr_(const MinNode* op, std::ostream& os) final; // NOLINT(*)