mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 15:05:36 +02:00
![]() 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 |
||
---|---|---|
.. | ||
org.eclipse.cdt.core | ||
org.eclipse.cdt.core.linux | ||
org.eclipse.cdt.core.linux.ppc | ||
org.eclipse.cdt.core.linux.ppc64 | ||
org.eclipse.cdt.core.linux.ppc64le | ||
org.eclipse.cdt.core.linux.x86 | ||
org.eclipse.cdt.core.linux.x86_64 | ||
org.eclipse.cdt.core.macosx | ||
org.eclipse.cdt.core.native | ||
org.eclipse.cdt.core.tests | ||
org.eclipse.cdt.core.win32 | ||
org.eclipse.cdt.core.win32.x86 | ||
org.eclipse.cdt.core.win32.x86_64 | ||
org.eclipse.cdt.ui | ||
org.eclipse.cdt.ui.tests | ||
pom.xml |