diff --git a/src/parse_clang.cpp b/src/parse_clang.cpp index 02c0a2d1..9891abdb 100644 --- a/src/parse_clang.cpp +++ b/src/parse_clang.cpp @@ -621,7 +621,7 @@ void ClangParser::start(const QString &fileName, const QString &fileBuffer, QStr // user provided clang headers if (clangUseHeaders) { - QString inc = "-I" + QCoreApplication::applicationDirPath() + "/include/10.0.1/include"; + QString inc = "-I" + QCoreApplication::applicationDirPath() + "/include/18/include"; argList.push_back(std::move(inc)); } diff --git a/src/parse_lib_tooling.cpp b/src/parse_lib_tooling.cpp index 42e7e4bc..df07b970 100644 --- a/src/parse_lib_tooling.cpp +++ b/src/parse_lib_tooling.cpp @@ -696,7 +696,7 @@ class DoxyVisitor : public clang::RecursiveASTVisitor current->m_static = true; } - if (methodDecl->isPure()) { + if (methodDecl->isPureVirtual()) { returnType.prepend(" virtual "); current->virt = Specifier::Pure;