[all-commits] [llvm/llvm-project] 66bbbf: [clang][dataflow] Cache accessors returning pointe...
Jan Voung via All-commits
all-commits at lists.llvm.org
Mon Oct 28 12:13:50 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 66bbbf2e951a486f972a5a54378e6791193ade60
https://github.com/llvm/llvm-project/commit/66bbbf2e951a486f972a5a54378e6791193ade60
Author: Jan Voung <jvoung at google.com>
Date: 2024-10-28 (Mon, 28 Oct 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.h
M clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
M clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
Log Message:
-----------
[clang][dataflow] Cache accessors returning pointers in bugprone-unchecked-optional-access (#113922)
Previously, we covered returning refs, or copies of optional, and bools.
Now cover returning pointers (to any type).
This is useful for cases like operator-> of smart pointers.
Addresses more of issue llvm#58510
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