MCPcopy Create free account
hub / github.com/argotorg/solidity / newErrorId

Method newErrorId

libsolidity/formal/CHC.cpp:2469–2477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2467}
2468
2469unsigned CHC::newErrorId()
2470{
2471 unsigned errorId = m_context.newUniqueId();
2472 // We need to make sure the error id is not zero,
2473 // because error id zero actually means no error in the CHC encoding.
2474 if (errorId == 0)
2475 errorId = m_context.newUniqueId();
2476 return errorId;
2477}
2478
2479SymbolicIntVariable& CHC::errorFlag()
2480{

Callers

nothing calls this directly

Calls 1

newUniqueIdMethod · 0.80

Tested by

no test coverage detected