Issue | 129091 |
---|---|
Summary | [-Wunsafe-buffer-usage] Do not warn of unsafe buffers in consteval functions |
Labels | new issue |
Assignees | |
Reporter | tsepez |
Since such a function is guaranteed to be evaluated at compile time, there should not be a possibility of a run-time buffer overflow. Adding annotations to these functions would thus not improve security.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs