D17858: clang: Also detect Clang builtin dirs at runtime on Unix
Milian Wolff
noreply at phabricator.kde.org
Thu Jan 10 15:24:00 GMT 2019
mwolff added inline comments.
INLINE COMMENTS
> rjvbb wrote in clangsupport.cpp:188
> Doh, yes. With my previous implementation the path was never empty when clangBuiltinIncludePath() was called with its default argument. Evidently I had to forget that this was no longer true in the current implementation.
>
> Reverting means we'll be checking the file presence twice in most cases, right? It bothers me a bit to hardcode the filename in 2 locations.
ah I see. just make the check code (currently in the lambda) available through isValidClangBuiltingIncludePath - no need to hardcode it twice.
REPOSITORY
R32 KDevelop
REVISION DETAIL
https://phabricator.kde.org/D17858
To: rjvbb, #kdevelop, flherne, mwolff
Cc: arrowd, mwolff, flherne, kdevelop-devel, glebaccon, hase, antismap, iodelay, geetamc, Pilzschaf, akshaydeo, surgenight
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20190110/2aadd22f/attachment.html>
More information about the KDevelop-devel
mailing list