[clang] [clang-tools-extra] [clang-tidy] [dataflow] Cache reference accessors for `bugprone-unchecked-optional-access` (PR #128437)

Jan Voung via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 27 19:18:57 PST 2025


================
@@ -114,11 +114,12 @@ Changes in existing checks
   and accessing ``value``. The option `IgnoreSmartPointerDereference` should
   no longer be needed and will be removed.
 
+- Improved :doc:`bugprone-unchecked-optional-access
----------------
jvoung wrote:

Instead of starting a new bullet, could you append to the above one?

At least from other commits that seems like the precedence: https://github.com/llvm/llvm-project/commit/6504546abcd38159256c3030286b1c02b401c4f8 and https://github.com/llvm/llvm-project/commit/f89fa238faa6a63168997a8a1d03c15b71da8080

===

Also seems like folks wrap to 80-cols



https://github.com/llvm/llvm-project/pull/128437


More information about the cfe-commits mailing list