| 605 | } |
| 606 | |
| 607 | void TopDUContext::setFeatures(Features features) |
| 608 | { |
| 609 | features &= ~Recursive; //Remove the "Recursive" flag since that's only for searching |
| 610 | features &= ~ForceUpdateRecursive; //Remove the update flags |
| 611 | features &= ~AST; //Remove the AST flag, it's only used while updating |
| 612 | d_func_dynamic()->m_features = features; |
| 613 | |
| 614 | //Replicate features to ParsingEnvironmentFile |
| 615 | if (parsingEnvironmentFile()) |
| 616 | parsingEnvironmentFile()->setFeatures(this->features()); |
| 617 | } |
| 618 | |
| 619 | void TopDUContext::setAst(const QExplicitlySharedDataPointer<IAstContainer>& ast) |
| 620 | { |
no test coverage detected