clang-tidy: Enable bugprone-unchecked-optional-access
Enable bugprone-unchecked-optional-access to detect the case that it accesses std::optional without checking empty.
See https://gerrit.openbmc.
clang-tidy: Enable bugprone-unchecked-optional-access
Enable bugprone-unchecked-optional-access to detect the case that it accesses std::optional without checking empty.
See https://gerrit.openbmc.org/c/openbmc/docs/+/78034 for details.
Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I6f35cc4585e681b7f4030b85295074b1564e8a48
show more ...
|