This is an archive of the discontinued LLVM Phabricator instance.

[Basic] Introduce active dummy DiagnosticBuilder
AbandonedPublic

Authored by nik on May 3 2019, 3:58 AM.

Details

Reviewers
alexfh
Summary

...which does not emit anything.

This dummy is useful for filtering. Code expecting a DiagnosticBuilder
object can get a dummy and report further details, without
knowing/checking whether this is needed at all.

Diff Detail

Event Timeline

nik created this revision.May 3 2019, 3:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2019, 3:58 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
nik added a reviewer: alexfh.May 3 2019, 4:01 AM

Is this patch still needed?

nik added a comment.Jun 6 2019, 6:12 AM

Is this patch still needed?

Nope, abandoning it now.

nik abandoned this revision.Jun 6 2019, 6:12 AM