clang  19.0.0git
Classes | Functions
clang::threadSafety::lexpr Namespace Reference

Classes

class  LExpr
 
class  Terminal
 
class  BinOp
 
class  And
 
class  Or
 
class  Not
 

Functions

bool implies (const LExpr *LHS, const LExpr *RHS)
 Logical implication. More...
 

Function Documentation

◆ implies()

bool clang::threadSafety::lexpr::implies ( const LExpr LHS,
const LExpr RHS 
)

Logical implication.

Returns true if LHS implies RHS, i.e. if LHS holds, then RHS must hold. For example, (A & B) implies A.

Definition at line 105 of file ThreadSafetyLogical.cpp.

References implies().

Referenced by clang::threadSafety::lexpr::LExpr::implies().