This changes some diagnostics to use terminology from the standard rather than invented terminology, which improves consistency with other diagnostics as well. There are no functional changes intended other than wording and naming.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Thanks!
clang/include/clang/Basic/DiagnosticParseKinds.td | ||
---|---|---|
864–868 | Consider "initialization of" -> "initializer for", so we use the standard term in full. | |
clang/include/clang/Basic/DiagnosticSemaKinds.td | ||
8506–8525 | For a static member, it's just an initializer, not a default member initializer. I think "in-class initializer" is probably the best we can say here. | |
8534–8535 | Likewise, this case is an initializer for a static member, and is not a default member initializer. |
Consider "initialization of" -> "initializer for", so we use the standard term in full.