[PATCH] D75714: Add Optional overload to DiagnosticBuilder operator <<
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 9 07:30:41 PDT 2020
njames93 added a comment.
In D75714#1912326 <https://reviews.llvm.org/D75714#1912326>, @lebedev.ri wrote:
> What's the use case here?
Mainly syntactic sugar, If you have a function that maybe returns a `FixItHint` or `SourceRange` you can pass it directly to the `DiagnosticBuilder`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75714/new/
https://reviews.llvm.org/D75714
More information about the cfe-commits
mailing list