Home
last modified time | relevance | path

Searched hist:"4 bb15d8028aa0fb1450c46353bdcfe67d1bf6845" (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-led-manager/
H A D.clang-tidy4bb15d8028aa0fb1450c46353bdcfe67d1bf6845 Thu Aug 22 06:10:44 CDT 2024 George Liu <liuxiwei@ieisystem.com> clang-tidy: Enable performance-faster-string-find check

Optimize calls to std::string::find() and friends when the needle
passed is a single character string literal. The character literal
overload is more efficient.

Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: I7cfc50410d6b6c9057995df8db47084445119d7b
/openbmc/phosphor-led-manager/fault-monitor/
H A Dfru-fault-monitor.cpp4bb15d8028aa0fb1450c46353bdcfe67d1bf6845 Thu Aug 22 06:10:44 CDT 2024 George Liu <liuxiwei@ieisystem.com> clang-tidy: Enable performance-faster-string-find check

Optimize calls to std::string::find() and friends when the needle
passed is a single character string literal. The character literal
overload is more efficient.

Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: I7cfc50410d6b6c9057995df8db47084445119d7b