Fix definesandincludes test.

Authored by arrowd on Jun 14 2018, 12:33 PM.

Description

Fix definesandincludes test.

Summary:
The code as it currently stands do not return any parser arguments for any LanguageType::Other files.
The checks I removed were added for this commit: https://phabricator.kde.org/R32:1c78a564626a0e5e305383c5fdb36b0fc76073cc
However, I can't find it in the history: https://phabricator.kde.org/source/kdevelop/history/master/plugins/custom-definesandincludes/definesandincludesmanager.cpp
I suspect it wasn't merged properly and got lost.

Anyway, now parserArguments tries to guess language type for a file requested and for ProjectFolderItem LanguageType::Other is returned.

Reviewers: KDevelop, skalinichev

Subscribers: kdevelop-devel

Tags: KDevelop

Differential Revision: https://phabricator.kde.org/D13537

Details

Committed
arrowdJun 14 2018, 3:03 PM
Differential Revision
D13537: Fix definesandincludes test.
Parents
R32:6adb73faa652: Merge remote-tracking branch 'origin/5.2'
Branches
Unknown
Tags
Unknown