Closed
Bug 1675417
Opened 5 years ago
Closed 5 years ago
clang-tidy fails with color codes in LLVM trunk
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Developer Infrastructure
Source Code Analysis
Tracking
(firefox86 fixed)
RESOLVED
FIXED
86 Branch
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: away, Assigned: andi)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
https://github.com/llvm/llvm-project/commit/a07a2c88d96cc48d7d381a0300565090c24b9770 enabled color in clang-tidy
As a result, we get output like:
[0m[1mbugprone-argument-comment.cpp:3:19: [0m[0;1;30mnote: [0m'y' declared here[0m
(There are 0x1B ESC
characters in there, but I don't think they will appear in Bugzilla. Here's a try log: https://firefoxci.taskcluster-artifacts.net/KWD1xgynTYOISddiLxXOBQ/0/public/logs/live_backing.log)
And so the regex that looks for error messages fails to find them: https://searchfox.org/mozilla-central/rev/c938c7416c633639a5c8ce4412be586eefb48005/python/mozbuild/mozbuild/code_analysis/mach_commands.py#2395
Andi, is this something that you would be able to look at?
Flags: needinfo?(bpostelnicu)
Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Assignee: nobody → bpostelnicu
Status: NEW → ASSIGNED
Assignee | ||
Updated•5 years ago
|
Flags: needinfo?(bpostelnicu)
Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/110e246ebc01
static-analysis autotest for `clang-tidy` should filter out colours. r=sylvestre
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox86:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Updated•3 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
•