Revert r78424.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 14 Aug 2009 19:01:37 +0000 (19:01 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 14 Aug 2009 19:01:37 +0000 (19:01 +0000)
commit9a0b165cb58cb5cf49cb3a143c302029f389acb2
tree81c4d8d573acef69a213aa31a54d6f39a2f26bd6
parentbba9f5f37859f1d53ff061695bfc8c22133c6f0e
Revert r78424.

In order for the changes in r78424 to work properly, cast_retty<X,Y> should return an object instead of a reference, and it's not clear that this approach has real advantages.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79023 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Casting.h