[clang] [clang][ExprConst][NFC] Remove outdated comments (PR #213587)

via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 2 21:21:24 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Timm Baeder (tbaederr)

<details>
<summary>Changes</summary>

Those parameters don't exist anymore.

---
Full diff: https://github.com/llvm/llvm-project/pull/213587.diff


1 Files Affected:

- (modified) clang/lib/AST/ExprConstant.cpp (+1-5) 


``````````diff
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

``````````

</details>


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


More information about the cfe-commits mailing list