llvm-6502/unittests/Support
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
..
AlignOfTest.cpp
AllocatorTest.cpp Fix layering StringRef copy using BumpPtrAllocator. 2014-02-05 22:22:56 +00:00
ArrayRecyclerTest.cpp
BlockFrequencyTest.cpp [block-freq] Add a right shift to BlockFrequency that saturates at 1. 2013-12-14 02:24:22 +00:00
Casting.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
CMakeLists.txt Move get[S|U]LEB128Size() to LEB128.h. 2014-02-22 14:00:39 +00:00
CommandLineTest.cpp Remove C++11ism from r200407. 2014-01-29 19:14:23 +00:00
CompressionTest.cpp
ConstantRangeTest.cpp
ConvertUTFTest.cpp
DataExtractorTest.cpp
EndianTest.cpp
ErrorOrTest.cpp Use LLVM_EXPLICIT instead of a function pointer as bool. 2014-01-16 23:37:23 +00:00
FileOutputBufferTest.cpp Fix known typos 2014-01-24 17:20:08 +00:00
formatted_raw_ostream_test.cpp
LeakDetectorTest.cpp
LEB128Test.cpp Move get[S|U]LEB128Size() to LEB128.h. 2014-02-22 14:00:39 +00:00
LineIteratorTest.cpp Introduce a simple line-by-line iterator type into the Support library. 2013-12-27 04:28:57 +00:00
LockFileManagerTest.cpp Remove remove_all. A compiler has no need for recursively deleting a directory. 2014-01-10 20:36:42 +00:00
Makefile
ManagedStatic.cpp
MathExtrasTest.cpp
MD5Test.cpp
MemoryBufferTest.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
MemoryTest.cpp
Path.cpp Simplify remove, create_directory and create_directories. 2014-02-23 13:56:14 +00:00
ProcessTest.cpp Silence a warning: 2014-02-04 22:53:45 +00:00
ProgramTest.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
raw_ostream_test.cpp
RegexTest.cpp Make llvm::Regex non-copyable but movable. 2014-01-02 19:04:59 +00:00
SourceMgrTest.cpp
SwapByteOrderTest.cpp Fix known typos 2014-01-24 17:20:08 +00:00
ThreadLocalTest.cpp Make sys::ThreadLocal<> zero-initialized on non-thread builds (PR18205) 2013-12-19 20:32:44 +00:00
TimeValueTest.cpp Remove TimeValue::toPosixTime() -- it is buggy, semantics are unclear, and its 2014-02-11 09:11:18 +00:00
UnicodeTest.cpp
ValueHandleTest.cpp
YAMLIOTest.cpp
YAMLParserTest.cpp