Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kzrdude
· 2y ago · 0 comments
Can we salvage this by forbidding * on optional with compiler warnings (as errors)?
Comments
[–]
lorenzhs
2y ago
clang-tidy has a check for this -- it's not a compiler check but with clangd and LSP, almost every code editor can show an inline warning:
https://clang.llvm.org/extra/clang-tidy/checks/bugprone/unch...