summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-08-12 07:49:36 +0000
committerAlexey Samsonov <samsonov@google.com>2013-08-12 07:49:36 +0000
commit9e4fdd26566072ff99cbcb02934848406bdbeb58 (patch)
tree93405cbd260d8986508152610814e007da16b25c /llvm/lib/Support/Unix
parentfeb34713d531d1f48c37116e8cab84814202d057 (diff)
downloadbcm5719-llvm-9e4fdd26566072ff99cbcb02934848406bdbeb58.tar.gz
bcm5719-llvm-9e4fdd26566072ff99cbcb02934848406bdbeb58.zip
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 llvm-svn: 188156
Diffstat (limited to 'llvm/lib/Support/Unix')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud