1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 17:26:01 +02:00

Added a missing point argument.

Change-Id: Ie07e20efd16f29de67f7510782d3269417b8df93
This commit is contained in:
Sergey Prigogin 2017-03-08 15:49:13 -08:00
parent 212bbd011f
commit f144cd407f
2 changed files with 3 additions and 3 deletions

View file

@ -115,7 +115,7 @@ class PDOMCLinkage extends PDOMLinkage implements IIndexCBindingConstants {
if (shouldUpdate(pdomBinding, fromName)) {
IBinding fromBinding = fromName.getBinding();
pdomBinding.update(this, fromBinding, null);
pdomBinding.update(this, fromBinding, fromName);
// Update the tags based on the tags from the new binding. This cannot be done in
// PDOMBinding.update, because not all subclasses (e.g., PDOMCFunction) call

View file

@ -634,7 +634,7 @@ class PDOMCPPLinkage extends PDOMLinkage implements IIndexCPPBindingConstants {
if (fromName != null && shouldUpdate(pdomBinding, fromName)) {
IBinding fromBinding = fromName.getBinding();
pdomBinding.update(this, fromBinding, null);
pdomBinding.update(this, fromBinding, fromName);
// Update the tags based on the tags from the new binding. This cannot be done in
// PDOMBinding.update, because not all subclasses (e.g., PDOMCPPFunction) call
@ -931,7 +931,7 @@ class PDOMCPPLinkage extends PDOMLinkage implements IIndexCPPBindingConstants {
if (pdomBinding == null) {
pdomBinding = createBinding(type, method, fileLocalRec, point);
} else if (!getPDOM().hasLastingDefinition(pdomBinding)) {
pdomBinding.update(this, method, null);
pdomBinding.update(this, method, point);
old.remove(pdomBinding);
// Update the tags based on the tags from the new binding. This was in