[all-commits] [llvm/llvm-project] 818bca: [clang-tidy] [dataflow] Cache reference accessors...
Valentyn Yukhymenko via All-commits
all-commits at lists.llvm.org
Fri Feb 28 10:27:42 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 818bca820ffd3e30fbd3852da0436c24ff15f8a3
https://github.com/llvm/llvm-project/commit/818bca820ffd3e30fbd3852da0436c24ff15f8a3
Author: Valentyn Yukhymenko <valentin.yukhymenko at gmail.com>
Date: 2025-02-28 (Fri, 28 Feb 2025)
Changed paths:
M clang-tools-extra/docs/ReleaseNotes.rst
M clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
M clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
Log Message:
-----------
[clang-tidy] [dataflow] Cache reference accessors for `bugprone-unchecked-optional-access` (#128437)
Fixes https://github.com/llvm/llvm-project/issues/126283
Extending https://github.com/llvm/llvm-project/pull/112605 to cache
const getters which return references.
Fixes false positives from const reference accessors to object
containing optional member
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list