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
Collaboration diagram for clang::threadSafety::til::EqualsComparator:
Collaboration graph

Public Types

typedef bool CType

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 302 of file ThreadSafetyTraverse.h.

Member Typedef Documentation

◆ CType

Definition at line 307 of file ThreadSafetyTraverse.h.

Member Function Documentation

◆ compare()

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

Definition at line 316 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 

Definition at line 330 of file ThreadSafetyTraverse.h.

References compare().

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

◆ compareIntegers()

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

Definition at line 312 of file ThreadSafetyTraverse.h.

◆ comparePointers()

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

Definition at line 314 of file ThreadSafetyTraverse.h.

◆ compareStrings()

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

Definition at line 313 of file ThreadSafetyTraverse.h.

◆ compareVariableRefs()

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

Definition at line 326 of file ThreadSafetyTraverse.h.

◆ enterScope()

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

Definition at line 323 of file ThreadSafetyTraverse.h.

◆ leaveScope()

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

Definition at line 324 of file ThreadSafetyTraverse.h.

◆ notTrue()

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

Definition at line 310 of file ThreadSafetyTraverse.h.

◆ trueResult()

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

Definition at line 309 of file ThreadSafetyTraverse.h.

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