MCPcopy Create free account
hub / github.com/csmith-project/csmith / OutputStandardFuncName

Function OutputStandardFuncName

src/FunctionInvocationUnary.cpp:180–194  ·  view source on GitHub ↗

* */

Source from the content-addressed store, hash-verified

178 *
179 */
180static void
181OutputStandardFuncName(eUnaryOps eFunc, std::ostream &out)
182{
183 switch (eFunc) {
184 // Math Ops
185 case ePlus: out << "+"; break;
186 case eMinus: out << "-"; break;
187
188 // Logical Ops
189 case eNot: out << "!"; break;
190
191 // Bitwise Ops
192 case eBitNot: out << "~"; break;
193 }
194}
195
196bool
197FunctionInvocationUnary::safe_invocation() const

Callers 2

OutputMethod · 0.70
indented_outputMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected