[PATCH] D155890: [clang-tidy] Add folly::Optional to unchecked-optional-access
Anton Dukeman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 24 10:20:06 PDT 2023
adukeman updated this revision to Diff 543619.
adukeman added a comment.
Update calls to OptionalMemberCall to take a name matcher
Supports treating calls to optional::has_value and optional::hasValue identically
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155890/new/
https://reviews.llvm.org/D155890
Files:
clang-tools-extra/test/clang-tidy/checkers/bugprone/Inputs/unchecked-optional-access/folly/types/Optional.h
clang-tools-extra/test/clang-tidy/checkers/bugprone/unchecked-optional-access.cpp
clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155890.543619.patch
Type: text/x-patch
Size: 8118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230724/1f9ef943/attachment-0001.bin>
More information about the cfe-commits
mailing list