Changeset View
Changeset View
Standalone View
Standalone View
duchain/usebuilder.cpp
Context not available. | |||||
73 | void UseBuilder::visitName(NameAst* node) | 73 | void UseBuilder::visitName(NameAst* node) | ||
---|---|---|---|---|---|
74 | { | 74 | { | ||
75 | DUContext* context = contextAtOrCurrent(editorFindPositionSafe(node)); | 75 | DUContext* context = contextAtOrCurrent(editorFindPositionSafe(node)); | ||
76 | Declaration* declaration = Helper::declarationForName(identifierForNode(node->identifier), | 76 | Declaration* declaration = Helper::declarationForName(node, editorFindRange(node, node), | ||
77 | editorFindRange(node, node), | | |||
78 | DUChainPointer<const DUContext>(context)); | 77 | DUChainPointer<const DUContext>(context)); | ||
79 | 78 | | |||
80 | Q_ASSERT(node->identifier); | 79 | Q_ASSERT(node->identifier); | ||
Context not available. |