forked from OSchip/llvm-project
1f67a3cba9
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 |
||
---|---|---|
.. | ||
tool | ||
CMakeLists.txt | ||
ClangMove.cpp | ||
ClangMove.h | ||
HelperDeclRefGraph.cpp | ||
HelperDeclRefGraph.h |