diff --git a/src/arith/iter_affine_map.cc b/src/arith/iter_affine_map.cc index f6d0020f57b9..f8a36daf5328 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 c4db6347050a..694104afc0af 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(*)