-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add bugprone-macro-parentheses clang-tidy check #5967
Add bugprone-macro-parentheses clang-tidy check #5967
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like there are also some parentheses needed in pcl_config.h (PCL_VERSION_CALC
)
@mvieth what is with
However, CI is showing this:
|
The pcl_config.h is generated from https://github.com/PointCloudLibrary/pcl/blob/master/pcl_config.h.in |
8235366
to
0ba2888
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Adds the bugprone-macro-parentheses check to
clang-tidy
:There are macros that use
std::stringstream
to simulate variadic functions; these should probably be converted to use actual parameter packs.