D8317: Don't try to guess the language from given arguments

Aaron Puchert noreply at phabricator.kde.org
Sat Nov 4 17:24:44 UTC 2017

aaronpuchert added a comment.

  I know that there is a problem, see the discussion on change https://phabricator.kde.org/D8634. The problem is that I'm not sure how to proceed: when do we encounter `Utils::Other`, and what do we do about it? The Clang Parser can probably not parse a file of type `Utils::Other` anyway.
  I didn't have an account on Bugzilla, that is fixed.


> gcclikecompiler.cpp:54
> +        default:
> +            Q_UNREACHABLE();
> +    }

Clang can't really parse `Utils::Other` files, so there is nothing reasonable we can do here.

Of course we can fix that particular bug by returning an empty string instead.

  R32 KDevelop


To: aaronpuchert, #kdevelop, mwolff
Cc: kfunk, mwolff, apol, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20171104/62f144d8/attachment.html>

More information about the KDevelop-devel mailing list