[PATCH] D30010: Improve the robustness of mmap

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 16 13:51:58 PST 2017


zturner added inline comments.


================
Comment at: llvm/lib/Support/Unix/Path.inc:346
 
+static std::error_code is_local_impl(struct STATVFS &Vfs, bool &Result) {
+#if defined(__linux__)
----------------
ruiu wrote:
> Does this function return other than std::error_code()?
No, it can't encounter an error.  I guess I should update the function signature to reflect that.


https://reviews.llvm.org/D30010





More information about the llvm-commits mailing list