mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-10 01:35:39 +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) {
|
||||
// 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) {
|
||||
int linkageID = lang.getLinkageID();
|
||||
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,
|
||||
boolean inContext, IProgressMonitor pm) throws CoreException, InterruptedException {
|
||||
IPath path= getPathForLabel(ifl);
|
||||
AbstractLanguage[] langs= fResolver.getLanguages(tu, fIndexHeadersWithoutContext==UnusedHeaderStrategy.useBoth);
|
||||
AbstractLanguage[] langs= fResolver.getLanguages(tu, fIndexHeadersWithoutContext == UnusedHeaderStrategy.useBoth);
|
||||
AbstractLanguage lang= null;
|
||||
for (AbstractLanguage lang2 : langs) {
|
||||
if (lang2.getLinkageID() == linkageID) {
|
||||
|
@ -711,7 +711,7 @@ public abstract class AbstractIndexerTask extends PDOMWriter {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (lang==null) {
|
||||
if (lang == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue