MCPcopy Create free account
hub / github.com/KDE/kdevelop / type

Method type

kdevplatform/language/checks/controlflownode.cpp:15–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13{}
14
15ControlFlowNode::Type ControlFlowNode::type() const
16{
17 Q_ASSERT(!m_alternative || m_next); //If we have alternative, we have next.
18
19 if (m_next && m_alternative)
20 return Conditional;
21 else if (m_next)
22 return Sequential;
23 else
24 return Exit;
25}
26
27void ControlFlowNode::setConditionRange(const RangeInRevision& range)
28{

Callers 1

populateNodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected