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

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...