summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-08-28 17:27:13 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-08-28 17:27:13 +0000
commitc5761271730ab929f19facef51903c9bdf5c5d0b (patch)
tree4c0adab944ac48207c70cb941b951049fc1aac0f /lib/CodeGen/CodeGenFunction.cpp
parent3aa6f431897edf5fec32cbede8fcddbfb8fa16f7 (diff)
downloadclang-c5761271730ab929f19facef51903c9bdf5c5d0b.tar.gz
clang-c5761271730ab929f19facef51903c9bdf5c5d0b.tar.bz2
clang-c5761271730ab929f19facef51903c9bdf5c5d0b.tar.xz
PR16995: Failing to associate static members with their enclosing class
In the transition from declaration (with some members) to definition, we were overwriting the list of members with the empty list when attaching template parameters. The fix is in llvm::DICompositeType::addMember (along with asserts that cause this bug to be covered by existing Clang test cases), including adding some asserts to catch this sort of issue which found issues fixed in this commit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189494 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions