taichi-dev / taichi

Productive, portable, and performant GPU programming in Python.
https://taichi-lang.org
Apache License 2.0
25.3k stars 2.27k forks source link

Trailing semicolons in macros #3375

Open qiao-bo opened 2 years ago

qiao-bo commented 2 years ago

We have macros such as TI_NOT_IMPLEMENTED is defined with a trailing semicolon. While occurrences in the code have a mix of with ; and without. The same happens to a number of macros in taichi/common/logging.h. We should have a consistent style. Maybe clang-tidy can help here.

sjwsl commented 2 years ago

Related #3335