| 61 | {} |
| 62 | |
| 63 | bool IncludeNavigationContext::filterDeclaration(Declaration* decl) |
| 64 | { |
| 65 | //filter out forward-declarations and macro-expansions without a range |
| 66 | //And filter out declarations with reserved identifiers |
| 67 | return !decl->qualifiedIdentifier().toString().isEmpty() && !decl->range().isEmpty() |
| 68 | && !decl->isForwardDeclaration() && !decl->identifier().isReserved(); |
| 69 | } |
| 70 | |
| 71 | ClangNavigationWidget::ClangNavigationWidget(const DeclarationPointer& declaration, KDevelop::AbstractNavigationWidget::DisplayHints hints) |
| 72 | : AbstractNavigationWidget() |
nothing calls this directly
no test coverage detected