xref: /openbmc/phosphor-power/phosphor-regulators/test/test_utils.cpp (revision 8b38b177315d40f1f9bc1e4d0784d45ea17cbd5c)
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