Skip to content
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

Fix NOLINT(*) regression #655

Merged
merged 1 commit into from
Oct 21, 2015

Conversation

cbagwell
Copy link
Contributor

After recent commit was tested over wider existing code
base, it was reported cpplint_mod.py would crash on
source code that contained "// NOLINT(*)".

This regression was fixed and tested against this fuller
(fullest) set of cases. First two are "mask all lint reports"
wildcards.

#include <thread>
#include <thread>  // NOLINT
#include <thread>  // NOLINT(*)
#include <thread>  // NOLINT(build/c++11)
#include <thread>  // NOLINT(build/c++11-2)

After recent commit was tested over wider existing code
base, it was reported cpplint_mod.py would crash on
source code that contained "// NOLINT(*)".

This regression was fixed and tested against this fuller
(fullest) set of cases.  First two are "mask all lint reports"
wildcards.

    #include <thread>
    #include <thread>  // NOLINT
    #include <thread>  // NOLINT(*)
    #include <thread>  // NOLINT(build/c++11)
    #include <thread>  // NOLINT(build/c++11-2)
@guwirth
Copy link
Collaborator

guwirth commented Oct 21, 2015

@jmecosta I don't use lint: can you give your ok to merge it please

@guwirth guwirth added the bug label Oct 21, 2015
@guwirth guwirth added this to the M 0.9.4 milestone Oct 21, 2015
@jmecosta
Copy link
Member

Seems all good

guwirth added a commit that referenced this pull request Oct 21, 2015
@guwirth guwirth merged commit 0447a5c into SonarOpenCommunity:master Oct 21, 2015
@guwirth guwirth mentioned this pull request Oct 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants