Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM except that this check should not be done for MinGW (and on a related note, I wish MSVC would behave the same since I can't see the benefit of this diagnostic).
include/clang/Basic/DiagnosticSemaKinds.td | ||
---|---|---|
2455 | Do we need a new note here? Wouldn't "previous attribute is here" suffice? |
Comment Actions
LGTM except that this check should not be done for MinGW (and on a related note, I wish MSVC would behave the same since I can't see the benefit of this diagnostic).
Thanks for pointing this out. I've kept it as an error for now, but maybe we want to downgrade it to a warning since nothing is breaking here, it's just a compatibility issue with MSVC.
include/clang/Basic/DiagnosticSemaKinds.td | ||
---|---|---|
2455 | You're right, let's just use the old note. |
Do we need a new note here? Wouldn't "previous attribute is here" suffice?