19 ms·
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.or
by 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/unchecked-optional-access.html https://clang.llvm.org/extra/clang-tidy/checks/bugprone/unch...