Expected is a templated class<br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 7, 2017 at 6:36 PM Rui Ueyama via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ruiu added inline comments.<br>
<br>
<br>
================<br>
Comment at: llvm/include/llvm/Support/Error.h:640<br>
+  LLVM_ATTRIBUTE_NOINLINE<br>
+  void fatalUncheckedExpected() const {<br>
+    dbgs() << "Expected<T> must be checked before access or destruction.\n";<br>
----------------<br>
Maybe you should move this to a .cpp file as well?<br>
<br>
<br>
<a href="https://reviews.llvm.org/D39761" rel="noreferrer" target="_blank">https://reviews.llvm.org/D39761</a><br>
<br>
<br>
<br>
</blockquote></div>