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

Method error_impl

src/liboslcomp/ast.cpp:185–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183
184
185void
186ASTNode::error_impl (string_view msg) const
187{
188#if OIIO_VERSION >= 10803
189 m_compiler->error (sourcefile(), sourceline(), "%s", msg);
190#else
191 // DEPRECATED -- delete when minimum OIIO is at least 1.8
192 m_compiler->error (sourcefile(), sourceline(), "%s", msg.c_str());
193#endif
194}
195
196
197

Callers

nothing calls this directly

Calls 2

c_strMethod · 0.80
errorMethod · 0.45

Tested by

no test coverage detected