llvm/unittests
Alexey Samsonov d976d43f23 Introduce factory methods for SpecialCaseList
Summary:
Doing work in constructors is bad: this change suggests to
call SpecialCaseList::create(Path, Error) instead of
"new SpecialCaseList(Path)". Currently the latter may crash with
report_fatal_error, which is undesirable - sometimes we want to report
the error to user gracefully - for example, if he provides an incorrect
file as an argument of Clang's -fsanitize-blacklist flag.

Reviewers: pcc

Reviewed By: pcc

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1327

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188156 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-12 07:49:36 +00:00
..
ADT [APFloat] Make all arithmetic operations with NaN produce positive NaNs. 2013-07-27 21:49:25 +00:00
Analysis Update this CMakeLists.txt for r187283 too. 2013-07-27 01:26:30 +00:00
Bitcode llvm/unittests: Use OwningPtr to fix --vg-leak. 2013-01-23 08:33:13 +00:00
DebugInfo Create a stub for DWARF parser unittests 2013-04-17 08:29:02 +00:00
ExecutionEngine Revert "[PowerPC] Improve consistency in use of __ppc__, __powerpc__, etc." 2013-07-26 22:13:57 +00:00
IR Make one of the AttributeSet ctors maintain the invariant that the 2013-08-02 22:29:40 +00:00
Object Update incorrect file headers. 2013-08-01 18:42:28 +00:00
Option Option parsing: recognize the special -- token 2013-08-02 21:20:27 +00:00
Support Fix off-by-one error in Regex::isValid 2013-08-08 17:32:45 +00:00
Transforms Introduce factory methods for SpecialCaseList 2013-08-12 07:49:36 +00:00
CMakeLists.txt Make BinaryRef output correctly in case of empty data. 2013-07-09 00:54:46 +00:00
Makefile Add Option unit tests to the make build 2013-07-20 03:04:36 +00:00
Makefile.unittest build/unittests: Fix llvm-config names for gtest libraries, and bring Makefile 2011-12-15 23:35:08 +00:00