[PATCH] D36969: [Basic] Add a DiagnosticOr type

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 21 11:36:03 PDT 2017


vsk added a comment.

Would it be more convenient to extend ErrorInfo instead of creating a new diagnostic wrapper? E.g one benefit of passing around Expected<T>'s is that there's some assurance the diagnostics will be reported.


Repository:
  rL LLVM

https://reviews.llvm.org/D36969





More information about the cfe-commits mailing list