clang 20.0.0git
Public Member Functions | List of all members
clang::ento::OperatorKind Class Reference

#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h"

Public Member Functions

 OperatorKind (BinaryOperatorKind Bin)
 
 OperatorKind (UnaryOperatorKind Un)
 
bool IsBinaryOp () const
 
BinaryOperatorKind GetBinaryOpUnsafe () const
 
std::optional< BinaryOperatorKindGetBinaryOp () const
 
UnaryOperatorKind GetUnaryOpUnsafe () const
 
std::optional< UnaryOperatorKindGetUnaryOp () const
 

Detailed Description

Definition at line 76 of file CheckerHelpers.h.

Constructor & Destructor Documentation

◆ OperatorKind() [1/2]

clang::ento::OperatorKind::OperatorKind ( BinaryOperatorKind  Bin)
inlineexplicit

Definition at line 84 of file CheckerHelpers.h.

◆ OperatorKind() [2/2]

clang::ento::OperatorKind::OperatorKind ( UnaryOperatorKind  Un)
inlineexplicit

Definition at line 85 of file CheckerHelpers.h.

References Un.

Member Function Documentation

◆ GetBinaryOp()

std::optional< BinaryOperatorKind > clang::ento::OperatorKind::GetBinaryOp ( ) const
inline

Definition at line 93 of file CheckerHelpers.h.

◆ GetBinaryOpUnsafe()

BinaryOperatorKind clang::ento::OperatorKind::GetBinaryOpUnsafe ( ) const
inline

Definition at line 88 of file CheckerHelpers.h.

◆ GetUnaryOp()

std::optional< UnaryOperatorKind > clang::ento::OperatorKind::GetUnaryOp ( ) const
inline

Definition at line 105 of file CheckerHelpers.h.

◆ GetUnaryOpUnsafe()

UnaryOperatorKind clang::ento::OperatorKind::GetUnaryOpUnsafe ( ) const
inline

Definition at line 99 of file CheckerHelpers.h.

◆ IsBinaryOp()

bool clang::ento::OperatorKind::IsBinaryOp ( ) const
inline

Definition at line 86 of file CheckerHelpers.h.

Member Data Documentation

◆ Bin

BinaryOperatorKind clang::ento::OperatorKind::Bin

Definition at line 78 of file CheckerHelpers.h.

◆ Un

UnaryOperatorKind clang::ento::OperatorKind::Un

Definition at line 79 of file CheckerHelpers.h.

Referenced by OperatorKind().


The documentation for this class was generated from the following file: