It is intended to disable _all_ warnings, even those upgraded to
errors via -Werror=warningname or `#pragma clang diagnostic error'
Details
Diff Detail
- Build Status
Buildable 27409 Build 27408: arc lint + arc unit
Event Timeline
| clang/lib/Basic/DiagnosticIDs.cpp | ||
|---|---|---|
| 459–470 | I think this would be clearer if phrased the other way around:
| |
| 465 | I think this change will also cause -w to disable all remarks. Was that your intent? | |
Fix to not disable remarks, reword comment, adjust implementation-of-module.m test-case.
| clang/lib/Basic/DiagnosticIDs.cpp | ||
|---|---|---|
| 459–470 | Reworded. | |
| 465 | No, that seems like a bug. Remarks have their own completely-separate set of command-line options; I don't think -R should interact with -w. I've added a conditional here, and a test case ensuring that. | |
I think this change will also cause -w to disable all remarks. Was that your intent?