MCPcopy Create free account
hub / github.com/catboost/catboost / Warn

Function Warn

contrib/libs/flatbuffers/src/flatc_main.cpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44static const char *g_program_name = nullptr;
45
46static void Warn(const flatbuffers::FlatCompiler *flatc,
47 const std::string &warn, bool show_exe_name) {
48 (void)flatc;
49 if (show_exe_name) { printf("%s: ", g_program_name); }
50 fprintf(stderr, "\nwarning:\n %s\n\n", warn.c_str());
51}
52
53static void Error(const flatbuffers::FlatCompiler *flatc,
54 const std::string &err, bool usage, bool show_exe_name) {

Callers 5

ParseFileMethod · 0.85
AnnotateBinariesMethod · 0.85
GenerateCodeMethod · 0.85
LogCompilerWarnFunction · 0.85

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected