You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like you just need to remove isExpansionInMainFile from all matchers in this check (and the readability-simplify-boolean-expr check as well). Clang-tidy takes care of filtering the results by file itself.
It looks like you just need to remove isExpansionInMainFile from all
matchers in this check (and the readability-simplify-boolean-expr check as
well). Clang-tidy takes care of filtering the results by file itself.
I tried to remove isExpansionInMainFile() from RedundantVoidArgCheck.cpp and check worked for me in case of included files.
Extended Description
modernize-redundant-void-arg doesn't detect problems inc included files (trunk version as of r255909).
Problem could be reproduced by moving part of test into other file and include it in test.
The text was updated successfully, but these errors were encountered: