1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00
Find a file
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
.mvn releng: Make use of Tycho POM-less functionality 2017-02-13 23:19:56 -04:00
build UI for adding toolchains for Core Build. New Generic Target Wizard. 2017-09-28 13:42:58 -04:00
codan Bug 513105 - Store the current lookup point in a thread-local static stack rather than passing it around everywhere 2017-09-25 12:51:22 -04:00
core Bug 515417 - Improve handling of friend classes in PDOM 2017-10-02 01:59:31 -04:00
cross Reinstate commit 709689b36e 2017-09-19 15:33:21 -04:00
debug UI for adding toolchains for Core Build. New Generic Target Wizard. 2017-09-28 13:42:58 -04:00
doc Bug 517516: Update N&N in CDT docs 2017-05-31 07:39:52 -04:00
dsf Reinstate commit 709689b36e 2017-09-19 15:33:21 -04:00
dsf-gdb Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
jtag Reinstate commit 709689b36e 2017-09-19 15:33:21 -04:00
launch Reinstate commit 709689b36e 2017-09-19 15:33:21 -04:00
llvm Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
lrparser Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
lsp4e-cpp lsp4e-cpp: Generate LSP FileEvents from ResourceChangeEvents 2017-09-26 14:07:03 -04:00
memory Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
native Fix serial port naming on Windows to ensure get() method works. 2017-06-19 10:21:25 -04:00
qt Bug 513105 - Store the current lookup point in a thread-local static stack rather than passing it around everywhere 2017-09-25 12:51:22 -04:00
releng Add some missing feature pom.xml files for Sonar job to work 2017-09-20 13:39:05 -04:00
remote Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
testsrunner Bug 479289 - Eclipse fails to parse gtest output for parametrized tests 2017-10-01 00:03:34 -04:00
toolchains/arduino Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
upc Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
util Reinstate commit 709689b36e 2017-09-19 15:33:21 -04:00
visualizer Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
windows Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
xlc Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
.gitignore Ignore NFS-created files. 2012-11-08 13:34:54 -08:00
pom.xml releng: Enforce JavaSE-1.8 EE for tycho-eclipserun-plugin 2017-05-26 12:31:20 -04:00