Page MenuHomePhabricator Dev

Bad patch to test static analysis + linting
Needs ReviewPublic

Authored by • smacleod on Mar 26 2019, 2:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 11, 10:00 AM
Unknown Object (File)
Fri, Oct 9, 1:00 PM
Unknown Object (File)
Wed, Oct 7, 6:25 AM
Unknown Object (File)
Aug 8 2026, 1:12 PM
Unknown Object (File)
Aug 4 2026, 2:29 AM
Unknown Object (File)
Aug 2 2026, 6:38 AM
Unknown Object (File)
Jul 21 2026, 11:04 PM
Unknown Object (File)
Jul 21 2026, 4:12 PM
Subscribers

Details

Reviewers
Unknown Object (User)
Bugzilla Bug ID
Not provided
Summary

TWO MORE TIMES?

Diff Detail

Unit TestsBroken

TimeTest
7,457 mscode-review::general
WARNING: An error occurred in the code review bot.
Failed to update to revision central

Event Timeline

Unknown Object (User) created this revision.Mar 26 2019, 2:03 PM
phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: Restricted Project.
• smacleod removed a reviewer: • smacleod.
• smacleod edited the summary of this revision. (Show Details)
• smacleod edited the summary of this revision. (Show Details)
• smacleod edited the summary of this revision. (Show Details)
• smacleod updated this revision to Diff 1843.
• smacleod edited the summary of this revision. (Show Details)
• smacleod added a reviewer: Unknown Object (User).
Unknown Object (User) set the repository for this revision to rMOZILLACENTRAL mozilla-central.Apr 3 2019, 7:35 AM
Unknown Object (User) added a comment.Mar 30 2020, 12:17 PM

This is a warning using WARNING:

WARNING: test warning.

This is an error using (IMPORTANT)

ERROR: test error
js/src/jsapi.cpp
210

Warning: Variable 'x' with floating point type 'float' should not be used as a loop counter [clang-tidy: clang-analyzer-security.FloatLoopCounter]

217

Warning: Statement should be inside braces [clang-tidy: readability-braces-around-statements]