11 const char *condition,
12 const char *full_file,
17 std::string cpp_file(full_file);
18 std::replace(cpp_file.begin(), cpp_file.end(),
'\\',
'/');
19 size_t pos = cpp_file.find(
"joedb/src/joedb");
20 std::string_view file(cpp_file);
21 if (pos != std::string::npos)
22 file.remove_prefix(pos + 10);
23 return std::string(file) +
":" + std::to_string(line) +
":" + function +
":!(" + condition +
")";