comaniac commented on pull request #6395:
URL: https://github.com/apache/incubator-tvm/pull/6395#issuecomment-693032354


   @t-vi looks like this is a common issue in cpplint as it only uses regular 
expression to lint the code. While it's not straightforward to fix cpplint, you 
may work around this issue by rewriting the code like
   ```c
   #define TRT_VERSION_GE(major, minor, patch) (                                
                 \
     (NV_TENSORRT_MAJOR > major) || (NV_TENSORRT_MAJOR == major && 
NV_TENSORRT_MINOR > minor) || \
     (NV_TENSORRT_MAJOR == major && NV_TENSORRT_MINOR == minor && 
NV_TENSORRT_PATCH >= patch))
   ```
   
   So that both cpplint and clang-format are happy.


----------------------------------------------------------------
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.

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


Reply via email to