[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
Loading
Please sign in to comment