Skip to content

Commit

Permalink
[Minor] Fix Compilation Warnings (#15154)
Browse files Browse the repository at this point in the history
* [Minor] Fix Compilation Warnings

This PR fixes serval compilation warnings with clang-15

* fix
  • Loading branch information
Hzfengsy committed Jun 26, 2023
1 parent 5a3523d commit 4641b40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/arith/iter_affine_map.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/target/source/codegen_c_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -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(*)
Expand Down

0 comments on commit 4641b40

Please sign in to comment.