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:
parent
212bbd011f
commit
f144cd407f
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue