fixes #330 : Don't show function prototype tip for function name that contains more than one namespace;
This commit is contained in:
parent
c53a4ba910
commit
16a3c0ad7a
2
NEWS.md
2
NEWS.md
|
@ -119,6 +119,8 @@ Red Panda C++ Version 2.27
|
|||
- enhancement: Double click on breakpoint table's condition cell to modify it.
|
||||
- fix: Don't show function prototype tip for function name that contains namespace alias.
|
||||
- fix: Can't save changes in project options -> compiler set , after base compiler set was changed.
|
||||
- fix: Project options -> file doesn't work.
|
||||
- fix: Don't show function prototype tip for function name that contains more than one namespace;
|
||||
|
||||
Red Panda C++ Version 2.26
|
||||
- enhancement: Code suggestion for embedded std::vectors.
|
||||
|
|
|
@ -181,7 +181,7 @@ QList<PStatement> CppParser::getListOfFunctions(const QString &fileName, const Q
|
|||
} else
|
||||
parentScope = statement->parentScope.lock();
|
||||
if (parentScope && parentScope->kind == StatementKind::Namespace) {
|
||||
PStatementList namespaceStatementsList = doFindNamespace(parentScope->command);
|
||||
PStatementList namespaceStatementsList = doFindNamespace(parentScope->fullName);
|
||||
if (namespaceStatementsList) {
|
||||
for (PStatement& namespaceStatement : *namespaceStatementsList) {
|
||||
result.append(
|
||||
|
|
Loading…
Reference in New Issue