Closed
Bug 1610204
Opened 5 years ago
Closed 4 years ago
Running mach static-analysis isn't working on some files
Categories
(Developer Infrastructure :: Source Code Analysis, defect, P3)
Developer Infrastructure
Source Code Analysis
Tracking
(Not tracked)
RESOLVED
MOVED
People
(Reporter: Sylvestre, Unassigned)
References
Details
./mach static-analysis check --checks="-*, modernize-concat-nested-namespaces" --fix dom/media/webspeech/recognition/SpeechGrammar.cpp -j 30
while it has
namespace mozilla {
namespace dom {
Note that it seems to be an upstream issue:
run-clang-tidy-10 -fix -checks="-*, modernize-concat-nested-namespaces" -extra-arg=-std=c++17 /home/sylvestre/dev/mozilla/autoland.hg/dom/media/webspeech/recognition/SpeechGrammar.cpp
Enabled checks:
modernize-concat-nested-namespaces
clang-apply-replacements version 10.0.0
clang-tidy-10 -checks=-*, modernize-concat-nested-namespaces -export-fixes /tmp/tmpck2w2ds_/tmp5a7przqh.yaml -extra-arg=-std=c++17 -p=/home/sylvestre/dev/mozilla/autoland.hg /home/sylvestre/dev/mozilla/autoland.hg/dom/media/webspeech/recognition/SpeechGrammar.cpp
Applying fixes ...
And the file exists in the compile db:
rg SpeechGrammar.cpp obj-x86_64-pc-linux-gnu/compile_commands.json
35010:"file": "/home/sylvestre/dev/mozilla/autoland.hg/dom/media/webspeech/recognition/SpeechGrammar.cpp"
Comment 1•5 years ago
|
||
The priority flag is not set for this bug.
:Sylvestre, could you have a look please?
For more information, please visit auto_nag documentation.
Flags: needinfo?(sledru)
Comment 2•5 years ago
•
|
||
Reporter | ||
Comment 3•5 years ago
|
||
This is caused by unified build and, we think that it impacts only one checker. Let's not worry too much about this!
Flags: needinfo?(sledru)
Priority: -- → P3
Reporter | ||
Comment 4•4 years ago
|
||
Closing as Andi and others have been working at fixing the non unified mode.
See bug 1626530
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → MOVED
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•