enum Stmt::Likelihood
Description
The likelihood of a branch being taken.
Declared at: clang/include/clang/AST/Stmt.h:1108
Enumerators
Name | Value | Comment |
---|---|---|
LH_Unlikely | -1 | Branch has the [[unlikely]] attribute. |
LH_None | 0 | No attribute set or branches of the IfStmt have the same attribute. |
LH_Likely | 1 | Branch has the [[likely]] attribute. |