mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
428fbeac02
commit
77c42e5efb
1 changed files with 31 additions and 31 deletions
|
@ -681,13 +681,13 @@ public class CIndex implements IIndex {
|
|||
for (int i = 0; i < fPrimaryFragmentCount; i++) {
|
||||
IIndexScope[] raw = fFragments[i].getInlineNamespaces();
|
||||
IIndexFragmentBinding[] arr = preresult[i] = new IIndexFragmentBinding[raw.length];
|
||||
for (int j=0; j<raw.length; j++) {
|
||||
for (int j = 0; j < raw.length; j++) {
|
||||
arr[j]= (IIndexFragmentBinding) raw[j].getScopeBinding();
|
||||
}
|
||||
}
|
||||
IIndexBinding[] compBinding = getCompositesFactory(ILinkage.CPP_LINKAGE_ID).getCompositeBindings(preresult);
|
||||
IIndexScope[] result = new IIndexScope[compBinding.length];
|
||||
for(int i=0; i<result.length; i++) {
|
||||
for(int i = 0; i < result.length; i++) {
|
||||
result[i]= (IIndexScope) ((ICPPNamespace) compBinding[i]).getNamespaceScope();
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Add table
Reference in a new issue