Move getCastToEmpty out of DIDescriptor into DIFactory. It is an
authorChris Lattner <sabre@nondot.org>
Mon, 10 Nov 2008 04:10:34 +0000 (04:10 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 10 Nov 2008 04:10:34 +0000 (04:10 +0000)
commit497a7a81a806748b7a49b529b6da4040da0a3832
tree1ecb3cde5e3d3ff05ed5c3976acf59bc2a47e217
parent4d557e4872b47b9f9ce340110c7d4a04779c8dc6
Move getCastToEmpty out of DIDescriptor into DIFactory.  It is an
implementation detail of DIFactory anyway, and this allows it to avoid
recomputing the same type over and over.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58960 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/DebugInfo.h
lib/Analysis/DebugInfo.cpp