[PATCH] D47852: [Support] Re-work the Flags parameter of the FileSystem open APIs
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 7 13:21:51 PDT 2018
rnk added inline comments.
================
Comment at: llvm/lib/Support/Unix/Path.inc:742
+ Result |= O_CREAT; // Create if it doesn't exist.
+ Result |= O_EXCL; // Fail if it does.
+ } else if (Disp == CD_CreateAlways) {
----------------
TIL about `O_EXCL`.
https://reviews.llvm.org/D47852
More information about the llvm-commits
mailing list