projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Share a createUniqueEntity implementation between unix and windows.
[oota-llvm.git]
/
include
/
llvm
/
Support
/
FileSystem.h
diff --git
a/include/llvm/Support/FileSystem.h
b/include/llvm/Support/FileSystem.h
index 176f935933521014a20b0568015458033ffe92b0..6fa4728f3d397a245ef379980d0a3d13024a8f84 100644
(file)
--- a/
include/llvm/Support/FileSystem.h
+++ b/
include/llvm/Support/FileSystem.h
@@
-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) {