mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
don't report problems for circular inclusions
This commit is contained in:
parent
e7fadca73f
commit
a38caa6521
1 changed files with 4 additions and 1 deletions
|
@ -749,7 +749,10 @@ public class SourceIndexerRequestor implements ISourceElementRequestor, IIndexCo
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean shouldRecordProblem( IProblem problem ){
|
public boolean shouldRecordProblem( IProblem problem ){
|
||||||
return problem.checkCategory( IProblem.PREPROCESSOR_RELATED );
|
if( problem.checkCategory( IProblem.PREPROCESSOR_RELATED ) ){
|
||||||
|
return problem.getID() != IProblem.PREPROCESSOR_CIRCULAR_INCLUSION;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void requestRemoveMarkers(IFile resource, IFile originator ){
|
public void requestRemoveMarkers(IFile resource, IFile originator ){
|
||||||
|
|
Loading…
Add table
Reference in a new issue