================ @@ -351,7 +351,10 @@ Changes in existing checks - Improved :doc:`bugprone-unchecked-optional-access <clang-tidy/checks/bugprone/unchecked-optional-access>` check by supporting ``NullableValue::makeValue`` and ``NullableValue::makeValueInplace`` to - prevent false-positives for ``BloombergLP::bdlb::NullableValue`` type. + prevent false-positives for ``BloombergLP::bdlb::NullableValue`` type, and by + adding the ``IgnoreValueCalls`` option to suppress diagnostics for + ``optional::value()`` while still diagnosing UB-prone dereferences via + ``operator*`` and ``operator->``. ---------------- EugeneZelenko wrote:
Second added option is not mentioned. https://github.com/llvm/llvm-project/pull/167209 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
