]> granicus.if.org Git - clang/commit
Alternative fix for r184473.
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 21 Jun 2013 00:40:50 +0000 (00:40 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 21 Jun 2013 00:40:50 +0000 (00:40 +0000)
commiteab6a36cf1eed9a7fec0babd2206048e28dedd02
tree240bfc806442d8bc0a6b2d5131fec5e21848619f
parent74f05cc06310e091781a375b3ac7e07357608806
Alternative fix for r184473.

This just seems a bit tidier/more principled. Based on a patch provided
by Adrian - with the only minor tweak that it needed to use
"getTypeOrNull" rather than "getCompletedTypeOrNull" since we don't
store declarations in the CompletedTypes cache.

No intended functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184509 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDebugInfo.h
lib/CodeGen/CodeGenTypes.cpp