Closed
Bug 500875
Opened 15 years ago
Closed 6 years ago
Find literal strings/arrays/data that should be const static
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: pavlov, Assigned: hm.ashu)
References
Details
(Keywords: perf, student-project, Whiteboard: [good first bug])
Attachments
(1 file, 1 obsolete file)
(deleted),
application/javascript
|
Details |
Make things readonly in the library for the win.
Updated•15 years ago
|
Keywords: student-project
Whiteboard: [good first bug]
Comment 1•15 years ago
|
||
(In reply to comment #0) > Make things readonly in the library for the win. Can you please give some more detailed information about this bug. Id like to have a look at this to learn about the whole process of contributing to the project.
Assignee | ||
Comment 3•15 years ago
|
||
Iam a student of mysore india iam a stu from sjce mysore,india and would like to take up dis bug.
Assignee | ||
Comment 4•15 years ago
|
||
Iam a student of mysore India. Iam a student from SJCE mysore,India and i would like to take up dis bug.
Updated•15 years ago
|
Assignee: nobody → hm.ashu
Reporter | ||
Comment 5•15 years ago
|
||
The idea here is to look and find data in the application that should be marked readonly in the binary so that it can be mapped in directly, rather than creating copies on the heap
Assignee | ||
Comment 9•15 years ago
|
||
This JS warns if literal strings/arrays are initialized to variables that are not declared as both const and static.
Attachment #444312 -
Flags: feedback?(david.humphrey)
Assignee | ||
Comment 10•15 years ago
|
||
This JS warns if literal strings/arrays are initialised to variables that are not both const and static.
Attachment #444312 -
Attachment is obsolete: true
Attachment #444315 -
Flags: feedback?(david.humphrey)
Attachment #444312 -
Flags: feedback?(david.humphrey)
Comment 11•12 years ago
|
||
Comment on attachment 444315 [details]
Find literal strings/arrays that should be declared as both const and static and warns
Apologies for losing track of this. If you're still working on it, it needs another reviewer.
Attachment #444315 -
Flags: feedback?(david.humphrey)
Updated•7 years ago
|
Product: Core → Firefox Build System
Comment 13•6 years ago
|
||
We have a bunch of checkers in particular readability-non-const-parameter at review phase: https://searchfox.org/mozilla-central/source/tools/clang-tidy/config.yaml#128
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
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
•