3 ms·
Can we salvage this by forbidding * on optional with compiler warnings (as errors)?
by kzrdude 2y ago
Can we salvage this by forbidding * on optional with compiler warnings (as errors)?
- lorenzhs 2y agoclang-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/unchecked-optional-access.html https://clang.llvm.org/extra/clang-tidy/checks/bugprone/unch...