clang  7.0.0svn
Public Types | Public Member Functions | Static Public Member Functions | List of all members
clang::threadSafety::til::EqualsComparator Class Reference

#include "clang/Analysis/Analyses/ThreadSafetyTraverse.h"

Inheritance diagram for clang::threadSafety::til::EqualsComparator:
Inheritance graph
[legend]
Collaboration diagram for clang::threadSafety::til::EqualsComparator:
Collaboration graph
[legend]

Public Types

using CType = bool
 

Public Member Functions

CType trueResult ()
 
bool notTrue (CType ct)
 
bool compareIntegers (unsigned i, unsigned j)
 
bool compareStrings (StringRef s, StringRef r)
 
bool comparePointers (const void *P, const void *Q)
 
bool compare (const SExpr *E1, const SExpr *E2)
 
void enterScope (const Variable *V1, const Variable *V2)
 
void leaveScope ()
 
bool compareVariableRefs (const Variable *V1, const Variable *V2)
 
- Public Member Functions inherited from clang::threadSafety::til::Comparator< EqualsComparator >
bool compareByCase (const SExpr *E1, const SExpr *E2)
 

Static Public Member Functions

static bool compareExprs (const SExpr *E1, const SExpr *E2)
 

Additional Inherited Members

- Protected Member Functions inherited from clang::threadSafety::til::Comparator< EqualsComparator >
EqualsComparatorself ()
 

Detailed Description

Definition at line 328 of file ThreadSafetyTraverse.h.

Member Typedef Documentation

◆ CType

Definition at line 333 of file ThreadSafetyTraverse.h.

Member Function Documentation

◆ compare()

bool clang::threadSafety::til::EqualsComparator::compare ( const SExpr E1,
const SExpr E2 
)
inline

Definition at line 342 of file ThreadSafetyTraverse.h.

References clang::threadSafety::til::SExpr::opcode().

Referenced by compareExprs().

◆ compareExprs()

static bool clang::threadSafety::til::EqualsComparator::compareExprs ( const SExpr E1,
const SExpr E2 
)
inlinestatic

Definition at line 356 of file ThreadSafetyTraverse.h.

References compare().

Referenced by clang::threadSafety::sx::equals().

◆ compareIntegers()

bool clang::threadSafety::til::EqualsComparator::compareIntegers ( unsigned  i,
unsigned  j 
)
inline

Definition at line 338 of file ThreadSafetyTraverse.h.

◆ comparePointers()

bool clang::threadSafety::til::EqualsComparator::comparePointers ( const void *  P,
const void *  Q 
)
inline

Definition at line 340 of file ThreadSafetyTraverse.h.

◆ compareStrings()

bool clang::threadSafety::til::EqualsComparator::compareStrings ( StringRef  s,
StringRef  r 
)
inline

Definition at line 339 of file ThreadSafetyTraverse.h.

◆ compareVariableRefs()

bool clang::threadSafety::til::EqualsComparator::compareVariableRefs ( const Variable V1,
const Variable V2 
)
inline

Definition at line 352 of file ThreadSafetyTraverse.h.

◆ enterScope()

void clang::threadSafety::til::EqualsComparator::enterScope ( const Variable V1,
const Variable V2 
)
inline

Definition at line 349 of file ThreadSafetyTraverse.h.

◆ leaveScope()

void clang::threadSafety::til::EqualsComparator::leaveScope ( )
inline

Definition at line 350 of file ThreadSafetyTraverse.h.

◆ notTrue()

bool clang::threadSafety::til::EqualsComparator::notTrue ( CType  ct)
inline

Definition at line 336 of file ThreadSafetyTraverse.h.

◆ trueResult()

CType clang::threadSafety::til::EqualsComparator::trueResult ( )
inline

Definition at line 335 of file ThreadSafetyTraverse.h.


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