DebugInfo: Avoid duplicating types that may be created during the process of creating...
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 18 Aug 2013 17:36:19 +0000 (17:36 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 18 Aug 2013 17:36:19 +0000 (17:36 +0000)
commitd27858932960f74bf05223bf63d398f1143a8830
tree03f61b7b023bf6678cb450b707d7cefe17857797
parentadfbf993d6068a9196ed1036a9039a8cb566b3d2
DebugInfo: Avoid duplicating types that may be created during the process of creating their context

A partner to r188639, this is a somewhat heavy-handed fix to the general
issue, since even after that prior change the issue does still
unavoidably arise with template parameters (see test case).

There are other ways we could consider addressing this (see FIXME).

llvm-svn: 188640
clang/lib/CodeGen/CGDebugInfo.cpp
clang/test/CodeGenCXX/debug-info-template-member.cpp