CMake: skip server entries without empty build system information

Authored by mwolff on Dec 19 2018, 9:27 AM.



In one of my work projects, the CMake 3.13.1 server gave fileGroups
responses without any useful CMakeFile data. This then was stored
in our lookup hash used by CMakeManager::fileInformation.

Then later, when we queried for these files, we found a match,
albeit empty, and returned that leading to completely broken C++
language support.

To prevent this issue, we now skip useless empty CMakeFile entries.
This fixes the specific scenario I'm seeing in my work project.

Diff Detail

R32 KDevelop
No Linters Available
No Unit Test Coverage
Build Status
Buildable 6172
Build 6190: arc lint + arc unit
mwolff created this revision.Dec 19 2018, 9:27 AM
Restricted Application added a project: KDevelop. · View Herald TranscriptDec 19 2018, 9:27 AM
Restricted Application added a subscriber: kdevelop-devel. · View Herald Transcript
mwolff requested review of this revision.Dec 19 2018, 9:27 AM
apol accepted this revision.Dec 19 2018, 3:57 PM
apol added a subscriber: apol.


This revision is now accepted and ready to land.Dec 19 2018, 3:57 PM
This revision was automatically updated to reflect the committed changes.