[clang] [clang][bytecode] Use in Expr::tryEvaluateObjectSize() (PR #179197)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 2 03:39:51 PST 2026


Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/179197 at github.com>


tbaederr wrote:

> > That should hit the `if (!Ptr.isBlockPointer())` at the beginning of `evaluateBuiltinObjectSize()` though. I removed the special case for function pointers anyway, let's see.
> 
> We never called `evaluateBuiltinObjectSize` since we never entered the lambda / callback.

Ah sorry, I thought the `__builtin_object_size` call was part of the given expression. Yes, it makes sense like this.

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


More information about the cfe-commits mailing list