[clang] [clang][ExprConst][NFC] Remove outdated comments (PR #213587)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 2 22:16:56 PDT 2026
https://github.com/tbaederr updated https://github.com/llvm/llvm-project/pull/213587
>From a9286254bb7e64dd1ccf4faddfac7996d7ff58e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?= <tbaeder at redhat.com>
Date: Mon, 3 Aug 2026 06:18:20 +0200
Subject: [PATCH] [clang][ExprConst][NFC] Remove outdated comments
Those parameters don't exist anymore.
---
clang/lib/AST/ExprConstant.cpp | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp
index 9d69de2a7c6fd..ebed083146a42 100644
--- a/clang/lib/AST/ExprConstant.cpp
+++ b/clang/lib/AST/ExprConstant.cpp
@@ -16778,11 +16778,7 @@ static bool determineEndOffset(EvalInfo &Info, SourceLocation ExprLoc,
return true;
}
-/// Tries to evaluate the __builtin_object_size for @p E. If successful,
-/// returns true and stores the result in @p Size.
-///
-/// If @p WasError is non-null, this will report whether the failure to evaluate
-/// is to be treated as an Error in IntExprEvaluator.
+/// Tries to evaluate the __builtin_object_size for @p E.
///
/// If @p IsDynamic is true (i.e. we're evaluating
/// __builtin_dynamic_object_size) and the operand designates a flexible array
More information about the cfe-commits
mailing list