mehdi_amini accepted this revision. mehdi_amini added a comment. This revision is now accepted and ready to land. LGTM ================ Comment at: lib/Support/Path.cpp:802 return errorCodeToError(EC); + } else { + FD = -1; ---------------- No else after return https://reviews.llvm.org/D40041