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 | ee9067c51fef4cfa015539574cd9b93ebe7d2656 (patch) | |
tree | 5bc7d63261fc93f2e6ce3703b60284a32fbaad98 /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | d1782cc478ae5dbe528e7211db68697cc6219696 (diff) | |
download | bcm5719-llvm-ee9067c51fef4cfa015539574cd9b93ebe7d2656.tar.gz bcm5719-llvm-ee9067c51fef4cfa015539574cd9b93ebe7d2656.zip |
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).
llvm-svn: 89425
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions