Commit 5d1d19d4 authored by Milian Wolff's avatar Milian Wolff

Keep include paths to build folders as project includes

Sadly, the order in which system and project includes are handled
is not as flexible as I hoped - system includes will always be handled
after the non-system includes.

Then, we try to auto-deduce system includes instead of relying on the
project manager for that distinction, which may lead to changed order
of include paths. In the kdevelop code base e.g. we often will show
parse errors for the debug categories, because the wrong `debug.h`
file is seen. Now this is fixed as the build dir includes are not
converted into system includes anymore and thus the order is correct.
parent 384e2db5
......@@ -199,6 +199,9 @@ ClangParseJob::ClangParseJob(const IndexedString& url, ILanguageSupport* languag
for (auto project : projects) {
if (auto* bsm = project->buildSystemManager()) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment