Y
Hacker News
new
|
ask
|
show
|
jobs
by
kzrdude
781 days ago
Can we salvage this by forbidding * on optional with compiler warnings (as errors)?
1 comments
lorenzhs
780 days 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...
link