diff options
| author | Lang Hames <lhames@gmail.com> | 2016-03-25 21:56:35 +0000 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2016-03-25 21:56:35 +0000 |
| commit | d0ac31a70694a8bf5604a151afa913b6a51078b9 (patch) | |
| tree | 910f3ad7180240a29c81feedbaae2a715e1db31f /llvm/lib | |
| parent | d6a04d79c7cc25419ffdaba9424a8ce1336813fb (diff) | |
| download | bcm5719-llvm-d0ac31a70694a8bf5604a151afa913b6a51078b9.tar.gz bcm5719-llvm-d0ac31a70694a8bf5604a151afa913b6a51078b9.zip | |
[Support] Add Error::errorForOutParameter helper.
This helper method creates a pre-checked Error suitable for use as an out
parameter in a constructor. This avoids the need to have the constructor
check a known-good error before assigning to it.
llvm-svn: 264467
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

