mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 12:26:43 +00:00

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 lost the information of what the original Pointer pointed to.