[clang] [clang-repl] Allow private type aliases in out-of-line member function return types (PR #178842)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 10 03:39:23 PST 2026


================
@@ -78,6 +79,20 @@ bool Parser::isCXXDeclarationStatement(
     [[fallthrough]];
     // simple-declaration
   default:
+
+    if (DisambiguatingWithExpression) {
+      TentativeParsingAction TPA(*this, true);
----------------
zwuis wrote:

`/*ParameterName=*/true`

Ditto below.

https://github.com/llvm/llvm-project/pull/178842


More information about the cfe-commits mailing list