MasterJH5574 commented on PR #16356:
URL: https://github.com/apache/tvm/pull/16356#issuecomment-1944053805

   Ooops looks like the Python decorator here causes clang warning when 
compiling every .cc file 
https://github.com/apache/tvm/blob/2b813ec04f1a65d6a21b99c7435096d2f8c77b4c/include/tvm/node/script_printer.h#L89-L91
   
   ```
   [ 82%] Building CXX object 
CMakeFiles/tvm_objs.dir/src/relay/transforms/flatten_atrous_conv.cc.o
   In file included from 
/home/ruihang/Workspace/tvm/src/relay/transforms/annotate_texture_storage.cc:36:
   In file included from 
/home/ruihang/Workspace/tvm/include/tvm/relay/attrs/nn.h:27:
   In file included from /home/ruihang/Workspace/tvm/include/tvm/ir/attrs.h:48:
   In file included from /home/ruihang/Workspace/tvm/include/tvm/ir/expr.h:27:
   In file included from 
/home/ruihang/Workspace/tvm/include/tvm/ir/source_map.h:26:
   In file included from /home/ruihang/Workspace/tvm/include/tvm/node/node.h:38:
   In file included from 
/home/ruihang/Workspace/tvm/include/tvm/node/repr_printer.h:27:
   /home/ruihang/Workspace/tvm/include/tvm/node/script_printer.h:90:10: 
warning: unknown command tag name [-Wdocumentation-unknown-command]
      *     @R.function
            ^~
   1 warning generated.
   [ 82%] Building CXX object 
CMakeFiles/tvm_objs.dir/src/relay/transforms/fold_constant.cc.o
   In file included from 
/home/ruihang/Workspace/tvm/src/relay/collage/sub_graph.cc:25:
   In file included from 
/home/ruihang/Workspace/tvm/src/relay/collage/./sub_graph.h:28:
   In file included from 
/home/ruihang/Workspace/tvm/include/tvm/ir/transform.h:59:
   In file included from 
/home/ruihang/Workspace/tvm/include/tvm/ir/diagnostic.h:29:
   In file included from /home/ruihang/Workspace/tvm/include/tvm/ir/module.h:27:
   In file included from /home/ruihang/Workspace/tvm/include/tvm/ir/adt.h:30:
   In file included from /home/ruihang/Workspace/tvm/include/tvm/ir/expr.h:27:
   In file included from 
/home/ruihang/Workspace/tvm/include/tvm/ir/source_map.h:26:
   In file included from /home/ruihang/Workspace/tvm/include/tvm/node/node.h:38:
   In file included from 
/home/ruihang/Workspace/tvm/include/tvm/node/repr_printer.h:27:
   /home/ruihang/Workspace/tvm/include/tvm/node/script_printer.h:90:10: 
warning: unknown command tag name [-Wdocumentation-unknown-command]
      *     @R.function
            ^~
   1 warning generated.
   ```
   
   I wonder if we want to find a work around here?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to