diff options
author | Jan Voung <jvoung@google.com> | 2024-10-28 15:13:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-28 15:13:29 -0400 |
commit | 66bbbf2e951a486f972a5a54378e6791193ade60 (patch) | |
tree | d5ef38ccfe482ee7e499f03da1d45dc5912da5da /clang/lib/Lex/ModuleMap.cpp | |
parent | 8274be509ed9e07188a8a64d95907a46cbe8e657 (diff) | |
download | llvm-66bbbf2e951a486f972a5a54378e6791193ade60.zip llvm-66bbbf2e951a486f972a5a54378e6791193ade60.tar.gz llvm-66bbbf2e951a486f972a5a54378e6791193ade60.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions