mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Restored the original statement ordering.
This commit is contained in:
parent
57d4081355
commit
db23381d3e
1 changed files with 1 additions and 1 deletions
|
@ -391,10 +391,10 @@ public final class ASTProvider {
|
|||
* <code>false</code> otherwise.
|
||||
*/
|
||||
private boolean prepareForUsingCache(ITranslationUnit tu, WAIT_FLAG waitFlag) {
|
||||
final boolean isActive= fCache.isActiveElement(tu);
|
||||
if (!tu.isOpen())
|
||||
return false;
|
||||
|
||||
final boolean isActive= fCache.isActiveElement(tu);
|
||||
if (waitFlag == WAIT_ACTIVE_ONLY && !isActive) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue