[clang] [clang] [NFC] Comment fix in ParseExpr.cpp (PR #195750)

Vivek Panchagnula via cfe-commits cfe-commits at lists.llvm.org
Thu May 7 04:44:03 PDT 2026


https://github.com/vrpT14s updated https://github.com/llvm/llvm-project/pull/195750

>From 4d5f639d75e53a0d6d05ffa769532622dc6d24c5 Mon Sep 17 00:00:00 2001
From: Vivek Panchagnula <vrp.t14s at gmail.com>
Date: Thu, 7 May 2026 17:12:09 +0530
Subject: [PATCH] [clang] [docs] Comment fix in clang's ParseExpr.cpp, update
 hanging reference of ParseBinaryExpression to ParseRHSOfBinaryExpression

Fixes issue #195747
---
 clang/lib/Parse/ParseExpr.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/clang/lib/Parse/ParseExpr.cpp b/clang/lib/Parse/ParseExpr.cpp
index c3ac8d7e6eb74..4c5ad7d87d6f9 100644
--- a/clang/lib/Parse/ParseExpr.cpp
+++ b/clang/lib/Parse/ParseExpr.cpp
@@ -15,8 +15,8 @@
 /// In the C99 grammar, these unary operators bind tightest and are represented
 /// as the 'cast-expression' production.  Everything else is either a binary
 /// operator (e.g. '/') or a ternary operator ("?:").  The unary leaves are
-/// handled by ParseCastExpression, the higher level pieces are handled by
-/// ParseBinaryExpression.
+/// handled by ParseCastExpression, the higher level pieces are handled
+/// elsewhere.
 ///
 //===----------------------------------------------------------------------===//
 



More information about the cfe-commits mailing list