mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
2f6a8ddfe8
This breaks the OpenFlags enumeration into two separate enumerations: OpenFlags and CreationDisposition. The first controls the behavior of the API depending on whether or not the target file already exists, and is not a flags-based enum. The second controls more flags-like values. This yields a more easy to understand API, while also allowing flags to be passed to the openForRead api, where most of the values didn't make sense before. This also makes the apis more testable as it becomes easy to enumerate all the configurations which make sense, so I've added many new tests to exercise all the different values. llvm-svn: 334221 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
llvm-rc.cpp | ||
LLVMBuild.txt | ||
Opts.td | ||
ResourceFileWriter.cpp | ||
ResourceFileWriter.h | ||
ResourceScriptCppFilter.cpp | ||
ResourceScriptCppFilter.h | ||
ResourceScriptParser.cpp | ||
ResourceScriptParser.h | ||
ResourceScriptStmt.cpp | ||
ResourceScriptStmt.h | ||
ResourceScriptToken.cpp | ||
ResourceScriptToken.h | ||
ResourceScriptTokenList.def | ||
ResourceVisitor.h |