Debug info: fix a crasher when when emitting debug info for
not-yet-completed templated types. getTypeSize() needs a complete type.

rdar://problem/15931354

git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@200797 91177308-0d34-0410-b5e6-96231b3b80d8
Simplify testcase from r200797 some more.

git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@200798 91177308-0d34-0410-b5e6-96231b3b80d8