Closed Bug 1422628 Opened 7 years ago Closed 7 years ago

enable bugprone-forward-declaration-namespace in the static analysis

Categories

(Developer Infrastructure :: Source Code Analysis, enhancement)

enhancement
Not set
normal

Tracking

(firefox59 fixed)

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No false positive, improve the code, let's enable it: http://clang.llvm.org/extra/clang-tidy/checks/bugprone-forward-declaration-namespace.html Just on occurrence in our code and there is no false positive.
Comment on attachment 8934015 [details] Bug 1422628 - enable bugprone-forward-declaration-namespace in the static analysis https://reviewboard.mozilla.org/r/204930/#review210542 This one is very interesting, can you please post where it found the issue in Gecko, I'm pretty curious to see if it really has an impact.
Attachment #8934015 - Flags: review?(bpostelnicu) → review+
Per my earlier comment: No need I found it: https://bugzilla.mozilla.org/show_bug.cgi?id=1422626
Assignee: nobody → sledru
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/edfc1bd98a5d enable bugprone-forward-declaration-namespace in the static analysis r=andi
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: