D13613: RFC: Fix libclang default include paths on FreeBSD.

Gleb Popov noreply at phabricator.kde.org
Tue Jun 19 15:14:54 UTC 2018


arrowd created this revision.
arrowd added a reviewer: KDevelop.
Restricted Application added a project: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.
arrowd requested review of this revision.

REVISION SUMMARY
  This change fixes `test_problems` test on FreeBSD. Without that `/usr/include` isn't added to the default include paths and many system headers become missing.
  I do understand that this is probably wrong place to make such a change, but after some research it turns out that Clang devs didn't put the logic for properly setting
  default include paths into libclang. It is present in clang itself, but not libclang.
  
  Relevant thread in another libclang consumer: https://github.com/Valloric/YouCompleteMe/issues/2330
  
  So, what would be the proper fix for that?

REPOSITORY
  R32 KDevelop

BRANCH
  master

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

AFFECTED FILES
  plugins/clang/duchain/parsesession.cpp

To: arrowd, #kdevelop
Cc: kdevelop-devel, antismap, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180619/f378ba0e/attachment.html>


More information about the KDevelop-devel mailing list