[clang] [clang-tools-extra] [clang-tidy] Add `IgnoreValueCalls` option to bugprone-unchecked-optional-access (PR #167209)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 9 08:34:49 PST 2025
================
@@ -308,3 +308,22 @@ advantages:
* Performance. A single check can cover many or even all accesses within
scope. This gives the user the best of both worlds -- the safety of a
dynamic check, but without incurring redundant costs.
+
+Options
+-------
+
+.. option:: IgnoreSmartPointerDereference
+
+ If set to ``true`` (default is ``false``), the check ignores optionals that
----------------
EugeneZelenko wrote:
```suggestion
If set to `true` (default is `false`), the check ignores optionals that
```
Default value should be last sentence. Same in other option.
https://github.com/llvm/llvm-project/pull/167209
More information about the cfe-commits
mailing list