| 119 | DUChainReadLocker lock; |
| 120 | |
| 121 | foreach (const CompletionTreeItemPointer& ptr, params.completionItems) { |
| 122 | if (ptr->declaration()) { |
| 123 | if (ptr->declaration()->identifier().toString() == itemName) { |
| 124 | return true; |
| 125 | } |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | return false; |
| 130 | } |
nothing calls this directly
no test coverage detected