struct UncheckedOptionalAccessModelOptions
Declaration
struct UncheckedOptionalAccessModelOptions { /* full declaration omitted */ };
Declared at: clang/include/clang/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.h:32
Member Variables
- public bool IgnoreSmartPointerDereference = false
- Ignore optionals reachable through overloaded `operator*` or `operator->` (other than those of the optional type itself). The analysis does not equate the results of such calls, so it can't identify when their results are used safely (across calls), resulting in false positives in all such cases. Note: this option does not cover access through `operator[]`.