[clang] [clang][bytecode] Classify function pointers as PT_Ptr (PR #135026)

2025-04-09 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr updated https://github.com/llvm/llvm-project/pull/135026 >From bdfb4c607d2bf7f5f8b83d35de9340be80274d34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Wed, 9 Apr 2025 15:31:53 +0200 Subject: [PATCH] [clang][bytecode] Classify function pointers as

[clang] [clang][bytecode] Classify function pointers as PT_Ptr (PR #135026)

2025-04-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes The Pointer class already has the capability to be a function pointer, but we still classifed function pointers as PT_FnPtr/FunctionPointer. This means when converting from a Pointer to a FunctionPointer, we

[clang] [clang][bytecode] Classify function pointers as PT_Ptr (PR #135026)

2025-04-09 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/135026 The Pointer class already has the capability to be a function pointer, but we still classifed function pointers as PT_FnPtr/FunctionPointer. This means when converting from a Pointer to a FunctionPointer, we l