xref: /openbmc/phosphor-power/phosphor-regulators/test/test_utils.cpp (revision 891112db3d77d415a29776feb529dfb2644c7f55)
1 // This .cpp file was added as a workaround for clang-tidy limitations.
2 // Meson runs clang-tidy directly on headers (.hpp), but the tool relies on
3 // compile_commands.json, which only defines context for .cpp files.
4 // This results in invalid diagnostics when headers are processed alone.
5 // The workaround ensures headers like test_utils.hpp are properly analyzed
6 // via corresponding .cpp compilation units using HeaderFilterRegex settings.
7 
8 #include "test_utils.hpp"
9