This is an archive of the discontinued LLVM Phabricator instance.

Add DK_Remark to SMDiagnostic
ClosedPublic

Authored by anemet on Oct 12 2017, 4:48 PM.

Details

Summary

Swift uses SMDiagnostic for diagnostic messages. For
https://github.com/apple/swift/pull/12294, we need remark support.

I picked the color that clang uses to display them.

Diff Detail

Repository
rL LLVM

Event Timeline

anemet created this revision.Oct 12 2017, 4:48 PM
jordan_rose edited edge metadata.Oct 12 2017, 4:50 PM

Seems reasonable to me. I don't know anything about the MIR parser's use of diagnostics, though.

Seems reasonable to me. I don't know anything about the MIR parser's use of diagnostics, though.

Currently it does not emit remarks and we can introduce remarks as needed. Thanks for the review!

This revision was automatically updated to reflect the committed changes.