Skip to content

Commit

Permalink
Switch from clang 10 to clang 18, when documentation is generated usi…
Browse files Browse the repository at this point in the history
…ng clang
  • Loading branch information
bgeller committed Aug 5, 2024
1 parent 28df925 commit e8064c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/parse_clang.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down
2 changes: 1 addition & 1 deletion src/parse_lib_tooling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ class DoxyVisitor : public clang::RecursiveASTVisitor<DoxyVisitor>
current->m_static = true;
}

if (methodDecl->isPure()) {
if (methodDecl->isPureVirtual()) {
returnType.prepend(" virtual ");
current->virt = Specifier::Pure;

Expand Down

0 comments on commit e8064c1

Please sign in to comment.