summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclObjC.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-11-05 00:28:01 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-11-05 00:28:01 +0000
commitca35ffe6a239afe4a88b4ae20b868431fd9b2189 (patch)
treec856732dd02af37352b6175a9e0573ce4d80ab74 /clang/lib/Sema/SemaDeclObjC.cpp
parent8065867ff7058c722c7d82ee235a7d17c0c90e05 (diff)
downloadbcm5719-llvm-ca35ffe6a239afe4a88b4ae20b868431fd9b2189.tar.gz
bcm5719-llvm-ca35ffe6a239afe4a88b4ae20b868431fd9b2189.zip
Simplify ErrorOr.
ErrorOr had quiet a bit of complexity and indirection to be able to hold a user type with the error. That feature is not used anymore. This patch removes it, it will live in svn history if we ever need it again. If we do need it again, IMHO there is one thing that should be done differently: Holding extra info in the error is not a property a function also returning a value or not. The ability to hold extra info should be in the error type and ErrorOr templated over it so that we don't need the funny looking ErrorOr<void>. llvm-svn: 194030
Diffstat (limited to 'clang/lib/Sema/SemaDeclObjC.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud