commit | d65658e8aabb10455f7249e0fd736f16e22b2e97 | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Fri Mar 25 21:56:35 2016 +0000 |
committer | Lang Hames <lhames@gmail.com> | Fri Mar 25 21:56:35 2016 +0000 |
tree | bbf7bfd96f5b840f94c22daef10acb67754c864f | |
parent | 4b3682d24a94b8b28fc0023a2ee3e41d7309f0ca [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264467 91177308-0d34-0410-b5e6-96231b3b80d8