CodeQL library for C/C++
Search

Class CaseEdge

A “case” edge, representing the successor of a Switch instruction when the the condition value matches a correponding case label.

Import path

import semmle.code.cpp.ir.IR

Direct supertypes

Indirect supertypes

Fields

Predicates

getMaxValue

Gets the largest value of the switch expression for which control will flow along this edge.

getMinValue

Gets the smallest value of the switch expression for which control will flow along this edge.

toString

Gets a textual representation of this edge kind.

Charpred