mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Fix a bug in the indexer's post-process
Some of the PDOMNode initData() methods clobbered each other by overriding each other. Fixed by renaming relevant ones to initConstructorData(). Change-Id: Ib290dcd861d6aff5466520886bc3c5433b4a269b
This commit is contained in:
parent
1628d11e7e
commit
05625c43cf
4 changed files with 6 additions and 9 deletions
|
@ -47,8 +47,7 @@ public class PDOMCPPConstructorInstance extends PDOMCPPMethodInstance
|
|||
super(linkage, bindingRecord);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initData(ICPPExecution constructorChain) {
|
||||
public void initConstructorData(ICPPExecution constructorChain) {
|
||||
if (constructorChain == null)
|
||||
return;
|
||||
try {
|
||||
|
|
|
@ -47,8 +47,7 @@ class PDOMCPPConstructorSpecialization extends PDOMCPPMethodSpecialization
|
|||
super(linkage, bindingRecord);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initData(ICPPExecution constructorChain) {
|
||||
public void initConstructorData(ICPPExecution constructorChain) {
|
||||
if (constructorChain == null)
|
||||
return;
|
||||
try {
|
||||
|
|
|
@ -45,8 +45,7 @@ class PDOMCPPConstructorTemplateSpecialization extends PDOMCPPMethodTemplateSpec
|
|||
super(linkage, bindingRecord);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initData(ICPPExecution constructorChain) {
|
||||
public void initConstructorData(ICPPExecution constructorChain) {
|
||||
if (constructorChain == null)
|
||||
return;
|
||||
try {
|
||||
|
|
|
@ -355,7 +355,7 @@ class PDOMCPPLinkage extends PDOMLinkage implements IIndexCPPBindingConstants {
|
|||
|
||||
@Override
|
||||
public void run() {
|
||||
fConstructor.initData(fConstructorChain);
|
||||
fConstructor.initConstructorData(fConstructorChain);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -388,7 +388,7 @@ class PDOMCPPLinkage extends PDOMLinkage implements IIndexCPPBindingConstants {
|
|||
|
||||
@Override
|
||||
public void run() {
|
||||
fConstructor.initData(fConstructorChain);
|
||||
fConstructor.initConstructorData(fConstructorChain);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -454,7 +454,7 @@ class PDOMCPPLinkage extends PDOMLinkage implements IIndexCPPBindingConstants {
|
|||
|
||||
@Override
|
||||
public void run() {
|
||||
fConstructor.initData(fConstructorChain);
|
||||
fConstructor.initConstructorData(fConstructorChain);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue