fix: Can't correctly suggest a variable defined by a typedef-ed type.

This commit is contained in:
Roy Qu 2024-02-19 17:56:15 +08:00
parent 80265f78ca
commit b4cfc7b98d
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ APP_NAME = RedPandaCPP
APP_VERSION = 2.26 APP_VERSION = 2.26
TEST_VERSION = beta1 TEST_VERSION = beta2
contains(QMAKE_HOST.arch, x86_64):{ contains(QMAKE_HOST.arch, x86_64):{
DEFINES += ARCH_X86_64=1 DEFINES += ARCH_X86_64=1
} else: { } else: {

View File

@ -5875,7 +5875,7 @@ PStatement CppParser::doParseEvalTypeInfo(
} else if (token == ">") { } else if (token == ">") {
templateLevel--; templateLevel--;
} }
baseType += token; templateParams += token;
} }
syntaxer.next(); syntaxer.next();
} }

View File

@ -23,7 +23,7 @@ APP_NAME = RedPandaCPP
APP_VERSION = 2.26 APP_VERSION = 2.26
TEST_VERSION = beta1 TEST_VERSION = beta2
win32: { win32: {
SUBDIRS += \ SUBDIRS += \