Fix declaration name access if not fully parsed
Fixes the crash in KDE bug #363713 that is caused by requesting code
completion on a not fully parsed file. For details, please see
backtrace in bug report.
BUG: 363713
cordlandwehr | Jun 1 2016, 7:22 PM |