Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Minor] Fix Clang compilation warning in fuse_tir.cc and codegen_c_ho…
…st.cc (apache#16511) The original warning is: ``` [build] /Users/syfeng/tvm/src/relax/transform/fuse_tir.cc:685:48: warning: lambda capture 'param' is not used [-Wunused-lambda-capture] [build] auto unify_name_hints = [this, &buffer, ¶m]() { [build] ~~~^~~~~ [build] /Users/syfeng/tvm/src/target/source/codegen_c_host.h:47:8: warning: 'tvm::codegen::CodeGenCHost::AddFunction' hides overloaded virtual function [-Woverloaded-virtual] [build] void AddFunction(const GlobalVar& gvar, const PrimFunc& f, bool emit_fwd_func_decl = false); [build] ^ [build] /Users/syfeng/tvm/src/target/source/codegen_c.h:86:16: note: hidden overloaded virtual function 'tvm::codegen::CodeGenC::AddFunction' declared here: different number of parameters (2 vs 3) [build] virtual void AddFunction(const GlobalVar& gvar, const PrimFunc& func); [build] ^ ```
- Loading branch information