Share a createUniqueEntity implementation between unix and windows.
[oota-llvm.git] / include / llvm / Support / FileSystem.h
index 176f935933521014a20b0568015458033ffe92b0..6fa4728f3d397a245ef379980d0a3d13024a8f84 100644 (file)
@@ -580,7 +580,10 @@ enum OpenFlags {
 
   /// F_Binary - The file should be opened in binary mode on platforms that
   /// make this distinction.
-  F_Binary = 4
+  F_Binary = 4,
+
+  /// Open the file for read and write.
+  F_RW = 8
 };
 
 inline OpenFlags operator|(OpenFlags A, OpenFlags B) {