1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-19 15:05:36 +02:00
cdt/core
Nathan Ridge e7c64e785b Bug 515417 - Improve handling of friend classes in PDOM
According to the standard, if a friend declaration is the only
declaration of a class type, then that class type is only
visible to argument-dependent lookup until another declaration
is encountered.

Bug 508338 attempted to implement this rule for PDOM class
types by not storing the class type in the index at all when
that first declaration is encountered. However, this meant
not recording the friend relationship either, which regressed
CompletionTests.testTypes_FriendClass (which was then disabled).

Bug 512932 implemented this rule for AST class types in a
different way, by keeping track of which names are visible to
ADL only.

This change reverts the fix for bug 508338, and extends the
approach from bug 512932 to PDOM class types. It also re-
enabled CompletionTests.testTypes_FriendClass which now passes.

Change-Id: I9a845fdba514339d86c0c3761a85cf34a17a5613
2017-10-02 01:59:31 -04:00
..
org.eclipse.cdt.core Bug 515417 - Improve handling of friend classes in PDOM 2017-10-02 01:59:31 -04:00
org.eclipse.cdt.core.linux Remove profiles that helped skip ppc64le 2017-02-08 09:51:43 -05:00
org.eclipse.cdt.core.linux.ppc Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.core.linux.ppc64 Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.core.linux.ppc64le Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.core.linux.x86 Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.core.linux.x86_64 Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.core.macosx Bug 519886 - eclipse CDT failed to create PTY on macOS 10.13 beta 2017-09-04 06:35:15 -04:00
org.eclipse.cdt.core.native releng: Make use of Tycho POM-less functionality 2017-02-13 23:19:56 -04:00
org.eclipse.cdt.core.tests Bug 518937 - Apply declaredBefore() filtering to index bindings found in a namespace scope 2017-09-27 18:58:02 -04:00
org.eclipse.cdt.core.win32 Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.core.win32.x86 Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.core.win32.x86_64 Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.ui UI for adding toolchains for Core Build. New Generic Target Wizard. 2017-09-28 13:42:58 -04:00
org.eclipse.cdt.ui.tests Bug 515417 - Improve handling of friend classes in PDOM 2017-10-02 01:59:31 -04:00
pom.xml releng: Make use of Tycho POM-less functionality 2017-02-13 23:19:56 -04:00