Searched hist:fcf08106828c7628d03dca555751c49ee775f208 (Results 1 – 2 of 2) sorted by relevance
/openbmc/phosphor-led-manager/manager/lamptest/ |
H A D | lamptest.cpp | fcf08106828c7628d03dca555751c49ee775f208 Thu Aug 22 04:00:05 CDT 2024 George Liu <liuxiwei@ieisystem.com> clang-tidy: Enable modernize-use-emplace check
The check flags insertions to an STL-style container done by calling the push_back, push, or push_front methods with an explicitly-constructed temporary of the container element type. In this case, the corresponding emplace equivalent methods result in less verbose and potentially more efficient code.
Signed-off-by: George Liu <liuxiwei@ieisystem.com> Change-Id: I540c22d3d26195a9d1ead57a4322541951c9ff53
|
/openbmc/phosphor-led-manager/ |
H A D | .clang-tidy | fcf08106828c7628d03dca555751c49ee775f208 Thu Aug 22 04:00:05 CDT 2024 George Liu <liuxiwei@ieisystem.com> clang-tidy: Enable modernize-use-emplace check
The check flags insertions to an STL-style container done by calling the push_back, push, or push_front methods with an explicitly-constructed temporary of the container element type. In this case, the corresponding emplace equivalent methods result in less verbose and potentially more efficient code.
Signed-off-by: George Liu <liuxiwei@ieisystem.com> Change-Id: I540c22d3d26195a9d1ead57a4322541951c9ff53
|