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

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

Collaboration diagram for clang::ento::OperatorKind:
Collaboration graph
[legend]

Public Member Functions

 OperatorKind (BinaryOperatorKind Bin)
 
 OperatorKind (UnaryOperatorKind Un)
 
bool IsBinaryOp () const
 
BinaryOperatorKind GetBinaryOpUnsafe () const
 
Optional< BinaryOperatorKindGetBinaryOp () const
 
UnaryOperatorKind GetUnaryOpUnsafe () const
 
Optional< UnaryOperatorKindGetUnaryOp () const
 

Detailed Description

Definition at line 74 of file CheckerHelpers.h.

Constructor & Destructor Documentation

◆ OperatorKind() [1/2]

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

Definition at line 82 of file CheckerHelpers.h.

References Bin.

◆ OperatorKind() [2/2]

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

Definition at line 83 of file CheckerHelpers.h.

Member Function Documentation

◆ GetBinaryOp()

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

Definition at line 91 of file CheckerHelpers.h.

◆ GetBinaryOpUnsafe()

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

Definition at line 86 of file CheckerHelpers.h.

◆ GetUnaryOp()

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

Definition at line 103 of file CheckerHelpers.h.

◆ GetUnaryOpUnsafe()

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

Definition at line 97 of file CheckerHelpers.h.

◆ IsBinaryOp()

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

Definition at line 84 of file CheckerHelpers.h.

Member Data Documentation

◆ Bin

BinaryOperatorKind clang::ento::OperatorKind::Bin

Definition at line 76 of file CheckerHelpers.h.

Referenced by OperatorKind().

◆ Un

UnaryOperatorKind clang::ento::OperatorKind::Un

Definition at line 77 of file CheckerHelpers.h.


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