Closed Bug 1403846 Opened 2 years ago Closed 2 years ago

[Static Analysis] Add new -header-filter parameter to mach to be passed to static analysis

Categories

(Firefox Build System :: Source Code Analysis, enhancement)

enhancement
Not set

Tracking

(firefox58 fixed)

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: andi, Assigned: andi)

Details

Attachments

(1 file)

We want our mach based static analysis to be able to have a parameter like:  
-header-filter=<string>      - 
                                 Regular expression matching the names of the
                                 headers to output diagnostics from. Diagnostics
                                 from the main file of each translation unit are
                                 always displayed.
No longer blocks: coverity-analysis
Attachment #8913096 - Flags: review?(sledru)
Comment on attachment 8913096 [details]
Bug 1403846 - add "header-filter" option argument to static-analysis from mach.

Thanks.
One day, we should have a look on how to add tests for all that...
Attachment #8913096 - Flags: review?(sledru) → review+
Comment on attachment 8913096 [details]
Bug 1403846 - add "header-filter" option argument to static-analysis from mach.

https://reviewboard.mozilla.org/r/184516/#review190984
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.

hg error in cmd: hg rebase -s bdea74b5caab -d b2d7d2ca373d: rebasing 423801:bdea74b5caab "Bug 1403846 - add "header-filter" option argument to static-analysis from mach. r=sylvestre" (tip)
merging python/mozbuild/mozbuild/mach_commands.py
warning: conflicts while merging python/mozbuild/mozbuild/mach_commands.py! (edit, then use 'hg resolve --mark')
unresolved conflicts (see hg resolve, then hg rebase --continue)
Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b90b6a1fc26b
add "header-filter" option argument to static-analysis from mach. r=sylvestre
https://hg.mozilla.org/mozilla-central/rev/b90b6a1fc26b
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.