diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-11-20 00:59:20 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-11-20 00:59:20 +0000 |
commit | f3c1f0e13614d384f77b2b1fdea386c74c407d0f (patch) | |
tree | f5d5eac286d7bf43f314f006460f49f0c92545a9 /lib/Driver/CC1Options.cpp | |
parent | b4eea691866a3fa75722da9eba735c44f140398a (diff) |
When we have a non-dependent expression such as
A::f
that occurs within a non-static member function with a type-dependent
"this", don't consider this to be a case for introduction of an
implicit "(*this)." to refer to a specific member function unless we
know (at template definition time) that A is a base class of *this.
There is some disagreement here between GCC, EDG, and Clang about the
handling of this case. I believe that Clang now has the correct,
literal interpretation of the standard, but have asked for
clarification (c++std-core-15483).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89425 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/CC1Options.cpp')
0 files changed, 0 insertions, 0 deletions