-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[clang-tidy] Add support for bsl::optional #101450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@llvm/pr-subscribers-clang-tidy @llvm/pr-subscribers-clang Author: Chris Cotter (ccotter) ChangesFull diff: https://github.com/llvm/llvm-project/pull/101450.diff 5 Files Affected:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with change, but at the same time this check should be made configurable.
Also please update check documentation before committing.
Agreed it should be configurable. I updated the docs, would you mind merging if you are OK as I don't have perms? |
clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
Outdated
Show resolved
Hide resolved
clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
Outdated
Show resolved
Hide resolved
@ymand could you please re-review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
huge for bloomberg 🔥
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Rebase to fix release notes conflict and I'll merge 👍
...clang-tidy/checkers/bugprone/Inputs/unchecked-optional-access/bde/types/bdlb_nullablevalue.h
Outdated
Show resolved
Hide resolved
…hecked-optional-access/bde/types/bdlb_nullablevalue.h Co-authored-by: Nicolas van Kempen <[email protected]>
No description provided.