LLVM 19.0.0git
Classes | Typedefs | Functions
llvm::coverage::mcdc Namespace Reference

Classes

struct  BranchParameters
 
struct  DecisionParameters
 
class  TVIdxBuilder
 Compute TestVector Indices "TVIdx" from the Conds graph. More...
 

Typedefs

using ConditionID = int16_t
 The ID for MCDCBranch.
 
using ConditionIDs = std::array< ConditionID, 2 >
 
using Parameters = std::variant< std::monostate, DecisionParameters, BranchParameters >
 The type of MC/DC-specific parameters.
 

Functions

template<class MaybeConstInnerParameters , class MaybeConstMCDCParameters >
static auto & getParams (MaybeConstMCDCParameters &MCDCParams)
 Check and get underlying params in MCDCParams.
 

Typedef Documentation

◆ ConditionID

using llvm::coverage::mcdc::ConditionID = typedef int16_t

The ID for MCDCBranch.

Definition at line 24 of file MCDCTypes.h.

◆ ConditionIDs

using llvm::coverage::mcdc::ConditionIDs = typedef std::array<ConditionID, 2>

Definition at line 25 of file MCDCTypes.h.

◆ Parameters

using llvm::coverage::mcdc::Parameters = typedef std::variant<std::monostate, DecisionParameters, BranchParameters>

The type of MC/DC-specific parameters.

Definition at line 51 of file MCDCTypes.h.

Function Documentation

◆ getParams()

template<class MaybeConstInnerParameters , class MaybeConstMCDCParameters >
static auto & llvm::coverage::mcdc::getParams ( MaybeConstMCDCParameters &  MCDCParams)
static

Check and get underlying params in MCDCParams.

Template Parameters
MaybeConstInnerParametersType to get. May be const.
MaybeConstMCDCParametersExpected inferred. May be const.
Parameters
MCDCParamsMay be const.

Definition at line 59 of file MCDCTypes.h.

References assert().