From 172c66c6dcf5f82f715b5326f7e4cb2a368d8776 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Thu, 21 Mar 2024 20:04:02 +0800 Subject: [PATCH] fix #296 - enhancement: Type induction for "auto &&" vars. --- RedPandaIDE/parser/parserutils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/RedPandaIDE/parser/parserutils.cpp b/RedPandaIDE/parser/parserutils.cpp index 392944ee..3699b2ec 100644 --- a/RedPandaIDE/parser/parserutils.cpp +++ b/RedPandaIDE/parser/parserutils.cpp @@ -345,6 +345,7 @@ void initParser() AutoTypes.insert("auto"); AutoTypes.insert("auto &"); + AutoTypes.insert("auto &&"); AutoTypes.insert("const auto"); AutoTypes.insert("const auto &");