llvm/unittests/Transforms
Rafael Espindola 589d637725 Simplify remove, create_directory and create_directories.
Before this patch they would take an boolean argument to say if the path
already existed. This was redundant with the returned error_code which is able
to represent that. This allowed for callers to incorrectly check only the
existed flag instead of first checking the error code.

Instead, pass in a boolean flag to say if the previous (non-)existence should be
an error or not.

Callers of the of the old simple versions are not affected. They still ignore
the previous (non-)existence as they did before.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201979 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-23 13:56:14 +00:00
..
DebugIR Simplify remove, create_directory and create_directories. 2014-02-23 13:56:14 +00:00
Utils Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
CMakeLists.txt Adding tests for DebugIR pass 2013-06-28 20:37:20 +00:00
Makefile Adding tests for DebugIR pass 2013-06-28 20:37:20 +00:00