Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-11033] Add option in Swift driver to disable color diagnostics #53423

Closed
krzyzanowskim opened this issue Jun 27, 2019 · 1 comment
Closed
Labels
compiler The Swift compiler in itself good first issue Good for newcomers improvement legacy driver Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project

Comments

@krzyzanowskim
Copy link
Contributor

Previous ID SR-11033
Radar None
Original Reporter @krzyzanowskim
Type Improvement
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Improvement, StarterBug
Assignee broadway_lamb (JIRA)
Priority Medium

md5: db7575e19d732ec42268cc07b1be9d03

relates to:

  • SR-6568 Add option in Swift driver to force output color diagnostics

Issue Description:

Clang has the option to enable/disable coloring https://clang.llvm.org/docs/UsersManual.html:

 -f[no-]color-diagnostics

This option, which defaults to on when a color-capable terminal is detected, controls whether or not Clang prints diagnostics in color.

`swiftc` already has the option to force enable colors (see SR-6568) however there's no option to disable coloring. Even if no "-color-diagnostics" is provided, diagnostics may (and will) be colored.

Request:
Add `-no-color-diagnostics` next to `-color-diagnostics`

@swift-ci
Copy link
Collaborator

swift-ci commented Jul 8, 2019

Comment by Sergej Jaskiewicz (JIRA)

#25992

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added the legacy driver Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project label Nov 6, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler The Swift compiler in itself good first issue Good for newcomers improvement legacy driver Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project
Projects
None yet
Development

No branches or pull requests

3 participants