Issue 60633
Summary clang-tidy: bugprone-unchecked-optional-access docs refer to a google-internal document
Labels new issue
Assignees
Reporter mineo
    https://github.com/llvm/llvm-project/blob/e50a508b5c3d3d814340e8818c757295d27c48dd/clang-tools-extra/docs/clang-tidy/checks/bugprone/unchecked-optional-access.rst says "See go/optional-style-recommendations for more information on that topic". I think "go/" is some google-internal thing. I think having access to that document (or a summary of it) would be great to have, especially to understand why `std::optional::value` is not considered safe access, even if it's required to throw an exception if the optional does not contain a value.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to