[clang] [clang][bytecode] Fix discarded pointer subtractions (PR #118477)

2024-12-03 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/118477 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][bytecode] Fix discarded pointer subtractions (PR #118477)

2024-12-03 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes We need to pop the value. --- Full diff: https://github.com/llvm/llvm-project/pull/118477.diff 2 Files Affected: - (modified) clang/lib/AST/ByteCode/Compiler.cpp (+4-1) - (modified) clang/test/AST/ByteCod

[clang] [clang][bytecode] Fix discarded pointer subtractions (PR #118477)

2024-12-03 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/118477 We need to pop the value. >From 409fa110d7eeb4a91f62b64d59aecb30db700ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Tue, 3 Dec 2024 13:00:29 +0100 Subject: [PATCH] [clang][bytecode] Fix