diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-02-16 19:09:40 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-02-16 19:09:40 +0000 |
commit | fe17d2550b84202b599a86e0f4f4f1f4729deb30 (patch) | |
tree | fa7afad5e8ea21a0329f74811ad2421169b54bee /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | 300048631b2e497141fb2492f083aa398f3649fd (diff) | |
download | llvm-fe17d2550b84202b599a86e0f4f4f1f4729deb30.zip llvm-fe17d2550b84202b599a86e0f4f4f1f4729deb30.tar.gz llvm-fe17d2550b84202b599a86e0f4f4f1f4729deb30.tar.bz2 |
Improve parsing and instantiation of destructor names, so that we can
now cope with the destruction of types named as dependent templates,
e.g.,
y->template Y<T>::~Y()
Nominally, we implement C++0x [basic.lookup.qual]p6. However, we don't
follow the letter of the standard here because that would fail to
parse
template<typename T, typename U>
X0<T, U>::~X0() { }
properly. The problem is captured in core issue 339, which gives some
(but not enough!) guidance. I expect to revisit this code when the
resolution of 339 is clear, and/or we start capturing better source
information for DeclarationNames.
Fixes PR6152.
llvm-svn: 96367
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions