D22197: Add working directory to clang parser.

Aaron Puchert noreply at phabricator.kde.org
Wed Jul 3 01:29:42 BST 2019


aaronpuchert added inline comments.

INLINE COMMENTS

> parsesession.cpp:287-288
> +    if (!environment.buildDirectory().isEmpty()) {
> +        QByteArray workingDirectory = environment.buildDirectory().toLocalFile().toUtf8();
> +        workingDirectory.prepend("-working-directory");
> +        smartArgs << workingDirectory;

Is the build directory necessarily the working directory for compilation?

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D22197

To: bungeman, #kdevelop
Cc: aaronpuchert, kdevelop-devel, hmitonneau, christiant, glebaccon, domson, antismap, iodelay, alexeymin, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20190703/c8d3e0ea/attachment.html>


More information about the KDevelop-devel mailing list