Skip to content

clang: fix tooltip missing closing bracket with default argument calls

To easily reproduce the error if present with the clang used, simply add a declaration of a method with default arg values and wait until the parser has added the info to the DUChain, then hover:

void foo(const QString& a = QString(), const QString& b = QString());

The ")" from "= QString()" can be missing in the tooltip without this patch.

Edited by Friedrich W. H. Kossebau

Merge request reports