diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-11-20 22:03:38 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-11-20 22:03:38 +0000 |
| commit | a25d65d1b6318407fb99a5de0a7720d8881146f3 (patch) | |
| tree | c1cd754557864732dc71ac3b32546fd2db2abb69 /clang/lib/Frontend/CompilerInstance.cpp | |
| parent | 09177b2b7fc0d08e55589cf8035ec9a54c4ce6c8 (diff) | |
| download | llvm-a25d65d1b6318407fb99a5de0a7720d8881146f3.zip llvm-a25d65d1b6318407fb99a5de0a7720d8881146f3.tar.gz llvm-a25d65d1b6318407fb99a5de0a7720d8881146f3.tar.bz2 | |
Implement C++ [basic.lookup.classref]p3, which states how the type
name 'T' is looked up in the expression
t.~T()
Previously, we weren't looking into the type of "t", and therefore
would fail when T actually referred to an injected-class-name. Fixes
PR5530.
llvm-svn: 89493
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions
