[clang-tools-extra] [NFC][clang-tidy] Update documentation for StatusOr check. (PR #176498)
Rohan Jacob-Rao via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 16 16:27:08 PST 2026
================
@@ -328,10 +328,10 @@ instead:
.. code:: cpp
- void f(std::vector<absl::StatusOr<int>> sors) {
- absl::StatusOr<int>& sor0 = sors[0];
- if (sor0.ok()) {
- use(*sor0);
+ void f(std::vector<absl::StatusOr<int>> xs) {
----------------
rohanjr wrote:
Done.
https://github.com/llvm/llvm-project/pull/176498
More information about the cfe-commits
mailing list