[clang] [clang][bytecode] Fix comparing zero-sized pointers (PR #135929)

2025-04-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes Add the appropriate diagnostic and fix the d-d case. --- Full diff: https://github.com/llvm/llvm-project/pull/135929.diff 4 Files Affected: - (modified) clang/lib/AST/ByteCode/Interp.h (+14-16) - (modifie

[clang] [clang][bytecode] Fix comparing zero-sized pointers (PR #135929)

2025-04-16 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/135929 Add the appropriate diagnostic and fix the d-d case. >From 685749dcf6fbbb4905922ce002180217947ca8f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Wed, 16 Apr 2025 08:37:23 +0200 Subject: [