llvm-project/clang-tools-extra/clang-move
Zachary Turner 1f67a3cba9 [FileSystem] Split up the OpenFlags enumeration.
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
2018-06-07 19:58:58 +00:00
..
tool [FileSystem] Split up the OpenFlags enumeration. 2018-06-07 19:58:58 +00:00
CMakeLists.txt [clang-move] Only move used helper declarations. 2017-01-03 09:00:51 +00:00
ClangMove.cpp Second attempt to fix clang-move tests broken by r332590 on windows 2018-05-17 14:59:15 +00:00
ClangMove.h Revert "[Tooling] [1/1] Refactor FrontendActionFactory::create() to return std::unique_ptr<>" 2018-02-27 15:54:41 +00:00
HelperDeclRefGraph.cpp [clang-tools-extra] Update uses of DEBUG macro to LLVM_DEBUG. 2018-05-15 16:37:45 +00:00
HelperDeclRefGraph.h [clang-move] Only move used helper declarations. 2017-01-03 09:00:51 +00:00