-
Notifications
You must be signed in to change notification settings - Fork 363
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
False positive in "Statements should be on separate lines" #445
Comments
@wichtounet See #451. Does this fix your problem? |
Fixed with #451 |
I finally took the time to install the last version of the plugin. The last commit of the master. Unfortunately, I still have several of these false positives in my analysis. It seems that there is less issues than before, but I still have 63 of these. Maybe it is simply a coincidence but they all appear in template functions. |
I should also mention that I have several other false positives on lines with using statements: using type = etl::fast_vector<ZZZ, 4>; using IT = intrinsic_traits<value_t>; |
|
|
@wichtounet Please provide a source code example for every single issues and create new issues if we do not have one open which has the identical root cause. |
I have some false positives with the rule "Statements should be on separate lines".
I have this on using statements inside functions:
with this message: At most one statement is allowed per line, but 2 statements were found on this line.
I also have false positives on statements containing a lambda function:
but in this case, depending on personal taste, some people may think that this is a true positive.
The text was updated successfully, but these errors were encountered: