| commit | 945e8d9762e1348c05d1f15a957b16118686cc7d | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <dgregor@apple.com> | Fri Sep 18 17:42:29 2009 +0000 |
| committer | Douglas Gregor <dgregor@apple.com> | Fri Sep 18 17:42:29 2009 +0000 |
| tree | 7a49ad79bf57c834ed979727b64236ae3bf9ae82 | |
| parent | e79171ca42a351dd5681e676f3a6086e27dc12c0 [diff] |
For code completion in C++ member access expressions and tag names, look into the current scope for anything that could start a nested-names-specifier. These results are ranked worse than any of the results actually found in the lexical scope. Perform a little more pruning of the result set, eliminating constructors, __va_list_tag, and any duplication of declarations in the result set. For the latter, implemented NamespaceDecl::getCanonicalDecl. llvm-svn: 82231