[clang-tidy][docs] Use std::optional instead of absl::optional in examples
authorDmitri Gribenko <gribozavr@gmail.com>
Fri, 10 Jun 2022 23:41:10 +0000 (01:41 +0200)
committerDmitri Gribenko <gribozavr@gmail.com>
Sat, 11 Jun 2022 19:03:43 +0000 (21:03 +0200)
commit65299c9c652f3ce4958011ffe28119d0eff0f38d
tree1e6736a20d7e5f8049d17bca14624957ca52a220
parent7dee646b28bf6ccd95663dbece6fea12c2d8884c
[clang-tidy][docs] Use std::optional instead of absl::optional in examples

The standard type is vastly more popular than the Abseil polyfill, so it
makes more sense to use it in documentation, even though the checker
actually understands both (and that fact is documented already).
clang-tools-extra/docs/clang-tidy/checks/bugprone-unchecked-optional-access.rst