MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenShadingLanguage / warning_impl

Method warning_impl

src/liboslcomp/ast.cpp:198–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196
197
198void
199ASTNode::warning_impl (string_view msg) const
200{
201#if OIIO_VERSION >= 10803
202 m_compiler->warning (sourcefile(), sourceline(), "%s", msg);
203#else
204 // DEPRECATED -- delete when minimum OIIO is at least 1.8
205 m_compiler->warning (sourcefile(), sourceline(), "%s", msg.c_str());
206#endif
207}
208
209
210

Callers

nothing calls this directly

Calls 2

c_strMethod · 0.80
warningMethod · 0.45

Tested by

no test coverage detected