Remove static initializer from DataStream.cpp
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 9 Feb 2012 00:29:19 +0000 (00:29 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 9 Feb 2012 00:29:19 +0000 (00:29 +0000)
commit4eebfb8b399b1e0a209c971690e108c18c0e1f10
tree068a2d5fbb218cc4e3ef8f67491152429281d296
parentf56ce5312448e5876ee1822facab48385ea5c0c0
Remove static initializer from DataStream.cpp

If someone would prefer a clear name for the 'success' error_value we could
come up with one - potentially just a 'named constructor' style
'error_value::success()' to make this expression more self-documenting. If
I see this come up in other cases I'll certainly consider it.

One step along the way to resolving PR11944.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150120 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/DataStream.cpp