~kdevelop/kdevelop4/master

Viewing all changes in revision 18414.

  • Committer: Gleb Popov
  • Date: 2018-06-14 15:03:29 UTC
  • Revision ID: git-v1:c0d55ad64f6d124020b61b0f36a7a93d1e43d5c4
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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: