mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-12 10:45:37 +02:00
Cosmetics.
This commit is contained in:
parent
52821a6191
commit
c1b423318a
1 changed files with 3 additions and 3 deletions
|
@ -376,7 +376,7 @@ public abstract class AbstractIndexerTask extends PDOMWriter {
|
||||||
|
|
||||||
if ((isSourceUnit && !isExcludedSource) || fIndexHeadersWithoutContext != UnusedHeaderStrategy.skip) {
|
if ((isSourceUnit && !isExcludedSource) || fIndexHeadersWithoutContext != UnusedHeaderStrategy.skip) {
|
||||||
// headers or sources required with a specific linkage
|
// headers or sources required with a specific linkage
|
||||||
AbstractLanguage[] langs= fResolver.getLanguages(tu, fIndexHeadersWithoutContext==UnusedHeaderStrategy.useBoth);
|
AbstractLanguage[] langs= fResolver.getLanguages(tu, fIndexHeadersWithoutContext == UnusedHeaderStrategy.useBoth);
|
||||||
for (AbstractLanguage lang : langs) {
|
for (AbstractLanguage lang : langs) {
|
||||||
int linkageID = lang.getLinkageID();
|
int linkageID = lang.getLinkageID();
|
||||||
IIndexFragmentFile ifile= getFile(linkageID, indexFiles);
|
IIndexFragmentFile ifile= getFile(linkageID, indexFiles);
|
||||||
|
@ -703,7 +703,7 @@ public abstract class AbstractIndexerTask extends PDOMWriter {
|
||||||
private void parseFile(Object tu, int linkageID, IIndexFileLocation ifl, IScannerInfo scanInfo,
|
private void parseFile(Object tu, int linkageID, IIndexFileLocation ifl, IScannerInfo scanInfo,
|
||||||
boolean inContext, IProgressMonitor pm) throws CoreException, InterruptedException {
|
boolean inContext, IProgressMonitor pm) throws CoreException, InterruptedException {
|
||||||
IPath path= getPathForLabel(ifl);
|
IPath path= getPathForLabel(ifl);
|
||||||
AbstractLanguage[] langs= fResolver.getLanguages(tu, fIndexHeadersWithoutContext==UnusedHeaderStrategy.useBoth);
|
AbstractLanguage[] langs= fResolver.getLanguages(tu, fIndexHeadersWithoutContext == UnusedHeaderStrategy.useBoth);
|
||||||
AbstractLanguage lang= null;
|
AbstractLanguage lang= null;
|
||||||
for (AbstractLanguage lang2 : langs) {
|
for (AbstractLanguage lang2 : langs) {
|
||||||
if (lang2.getLinkageID() == linkageID) {
|
if (lang2.getLinkageID() == linkageID) {
|
||||||
|
@ -711,7 +711,7 @@ public abstract class AbstractIndexerTask extends PDOMWriter {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (lang==null) {
|
if (lang == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue