llvm-6502/unittests
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
..
ADT Tweak an _MSC_VER ifdef to use typename with clang in a unittest 2014-02-13 19:51:13 +00:00
Analysis Make succ_iterator a real random access iterator and clean up a couple of users. 2014-02-10 14:17:42 +00:00
Bitcode Update getLazyBitcodeModule to use ErrorOr for error handling. 2014-01-13 18:31:04 +00:00
CodeGen Add support for hashing attributes with DW_FORM_block. This required 2014-02-20 02:50:45 +00:00
DebugInfo [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
ExecutionEngine This test was failing on non-X86-64 platforms because stackmaps only work on X86-64. 2014-02-21 03:17:31 +00:00
IR [PM] Don't require analysis results to be const in the new pass manager. 2014-02-05 21:41:42 +00:00
LineEditor Introduce line editor library. 2014-01-31 23:46:14 +00:00
Linker Reapply r194218 with fix: 2014-01-16 06:29:36 +00:00
MC Fix MCDataAtom never calling remap when adding data. 2013-10-16 18:26:16 +00:00
Object [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
Option [CMake] Also OptionTests can be free from add_dependencies() with add_public_tablegen_target(). 2013-11-28 17:04:13 +00:00
Support Simplify remove, create_directory and create_directories. 2014-02-23 13:56:14 +00:00
Transforms Simplify remove, create_directory and create_directories. 2014-02-23 13:56:14 +00:00
CMakeLists.txt Introduce line editor library. 2014-01-31 23:46:14 +00:00
Makefile Introduce line editor library. 2014-01-31 23:46:14 +00:00
Makefile.unittest Makefile.unittest: cleanup may fail. Add '-' in the action. 2013-12-20 04:20:23 +00:00