Go to file
Douglas Gregor fe17d2550b 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
2010-02-16 19:09:40 +00:00
clang Improve parsing and instantiation of destructor names, so that we can 2010-02-16 19:09:40 +00:00
compiler-rt add __sync_synchronize. Needed by compiler when emitting thumb1 with -fno-builtin 2010-02-02 21:34:04 +00:00
llvm change dag isel emitter to only call 'IsProfitableToFold' on nodes 2010-02-16 19:03:34 +00:00