[clang] [clang][NFC] Fix comment in `ParseDecl.cpp` (PR #219761)
Shengxin Pei via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 29 22:11:16 PDT 2026
https://github.com/TPPPP72 created https://github.com/llvm/llvm-project/pull/219761
Resolve https://github.com/llvm/llvm-project/pull/219270#discussion_r3887904776
>From ee0ca90f67c280bf3a0e03732abe70d7909bf104 Mon Sep 17 00:00:00 2001
From: Shengxin Pei <TPPPP72 at outlook.com>
Date: Sun, 30 Aug 2026 13:09:18 +0800
Subject: [PATCH] [clang][NFC] Fix comment in `ParseDecl.cpp`
---
clang/lib/Parse/ParseDecl.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp
index 11ba2b81baacc..7f0c5611cb70e 100644
--- a/clang/lib/Parse/ParseDecl.cpp
+++ b/clang/lib/Parse/ParseDecl.cpp
@@ -6862,7 +6862,7 @@ void Parser::ParseDirectDeclarator(Declarator &D) {
// Example: 'char (*X)' or 'int (*XX)(void)'
ParseParenDeclarator(D);
- // As above, a structured binding declarator cannot be followed by any
+ // As noted above, a structured binding declarator cannot be followed by any
// declarator chunks.
if (D.isDecompositionDeclarator())
return;
More information about the cfe-commits
mailing list