diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-08-12 07:49:36 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-08-12 07:49:36 +0000 |
commit | d976d43f23d67e18f097d72fd90923627f334c79 (patch) | |
tree | e57f2453743e9921768ce65f7ce5fe5f56ebe26c /autoconf | |
parent | 23331c30aefae840f55b52e2ed343117e5599682 (diff) | |
download | external_llvm-d976d43f23d67e18f097d72fd90923627f334c79.zip external_llvm-d976d43f23d67e18f097d72fd90923627f334c79.tar.gz external_llvm-d976d43f23d67e18f097d72fd90923627f334c79.tar.bz2 |
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
Diffstat (limited to 'autoconf')
0 files changed, 0 insertions, 0 deletions