llvm / llvm/llvm-project

Improve diagnostics "... cannot be applied to a pointer with pointee of unknown size because ... is a function type"

Open
#167,368 0 comments 0 reactions 0 assignees View on GitHub
clang:bounds-safety
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

The text isn't super clear because it doesn't make the connection between unknown point size and function type.

https://github.com/llvm/llvm-project/pull/166491#discussion_r2501583745

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.