Changeset View
Changeset View
Standalone View
Standalone View
duchain/builders/declarationbuilder.cpp
Context not available. | |||||
1642 | DeclarationBuilderBase::visitUseStatement(node); | 1642 | DeclarationBuilderBase::visitUseStatement(node); | ||
---|---|---|---|---|---|
1643 | } | 1643 | } | ||
1644 | 1644 | | |||
1645 | void DeclarationBuilder::visitUseNamespace(UseNamespaceAst* node) | 1645 | void DeclarationBuilder::visitUseNamespaceOrUseGroupedNamespace(UseNamespaceOrUseGroupedNamespaceAst* node) | ||
1646 | { | ||||
1647 | if (!node->compoundNamespace) { | ||||
1648 | visitNonGroupedUseNamespace(node); | ||||
1649 | } | ||||
1650 | } | ||||
1651 | | ||||
1652 | void DeclarationBuilder::visitNonGroupedUseNamespace(UseNamespaceOrUseGroupedNamespaceAst* node) | ||||
1646 | { | 1653 | { | ||
1647 | DUChainWriteLocker lock; | 1654 | DUChainWriteLocker lock; | ||
1648 | bool isConstIdentifier = ( m_useNamespaceType == ConstantDeclarationType ); | 1655 | bool isConstIdentifier = ( m_useNamespaceType == ConstantDeclarationType ); | ||
Context not available. |