File indexing completed on 2024-05-12 04:38:05
0001 /* 0002 SPDX-FileCopyrightText: 2006 Hamish Rodda <rodda@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-only 0005 */ 0006 0007 #include "use.h" 0008 #include "topducontext.h" 0009 0010 using namespace KTextEditor; 0011 0012 namespace KDevelop { 0013 KDevelop::Declaration* Use::usedDeclaration(KDevelop::TopDUContext* topContext) const 0014 { 0015 return topContext->usedDeclarationForIndex(m_declarationIndex); 0016 } 0017 }