mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-02 22:05:44 +02:00
Cosmetics.
This commit is contained in:
parent
c0a7a5724f
commit
ef6bc84321
1 changed files with 9 additions and 1 deletions
|
@ -194,24 +194,31 @@ public abstract class AbstractIndexerTask extends PDOMWriter {
|
||||||
public final void setIndexHeadersWithoutContext(UnusedHeaderStrategy mode) {
|
public final void setIndexHeadersWithoutContext(UnusedHeaderStrategy mode) {
|
||||||
fIndexHeadersWithoutContext= mode;
|
fIndexHeadersWithoutContext= mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void setIndexFilesWithoutBuildConfiguration(boolean val) {
|
public final void setIndexFilesWithoutBuildConfiguration(boolean val) {
|
||||||
fIndexFilesWithoutConfiguration= val;
|
fIndexFilesWithoutConfiguration= val;
|
||||||
}
|
}
|
||||||
|
|
||||||
public UnusedHeaderStrategy getIndexHeadersWithoutContext() {
|
public UnusedHeaderStrategy getIndexHeadersWithoutContext() {
|
||||||
return fIndexHeadersWithoutContext;
|
return fIndexHeadersWithoutContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean indexFilesWithoutConfiguration() {
|
public boolean indexFilesWithoutConfiguration() {
|
||||||
return fIndexFilesWithoutConfiguration;
|
return fIndexFilesWithoutConfiguration;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void setUpdateFlags(int flags) {
|
public final void setUpdateFlags(int flags) {
|
||||||
fUpdateFlags= flags;
|
fUpdateFlags= flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void setParseUpFront(String[] astFilePaths) {
|
public final void setParseUpFront(String[] astFilePaths) {
|
||||||
fFilesUpFront.addAll(Arrays.asList(astFilePaths));
|
fFilesUpFront.addAll(Arrays.asList(astFilePaths));
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void setForceFirstFiles(int number) {
|
public final void setForceFirstFiles(int number) {
|
||||||
fForceNumberFiles= number;
|
fForceNumberFiles= number;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void setFileSizeLimit(long limit) {
|
public final void setFileSizeLimit(long limit) {
|
||||||
fFileSizeLimit= limit;
|
fFileSizeLimit= limit;
|
||||||
}
|
}
|
||||||
|
@ -695,7 +702,8 @@ public abstract class AbstractIndexerTask extends PDOMWriter {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Object NO_CONTEXT= new Object();
|
private static final Object NO_CONTEXT= new Object();
|
||||||
|
|
||||||
private Object findContext(int linkageID, IIndexFragmentFile ifile, HashMap<IIndexFragmentFile, Object> contextMap) {
|
private Object findContext(int linkageID, IIndexFragmentFile ifile, HashMap<IIndexFragmentFile, Object> contextMap) {
|
||||||
Object cachedContext= contextMap.get(ifile);
|
Object cachedContext= contextMap.get(ifile);
|
||||||
if (cachedContext != null) {
|
if (cachedContext != null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue