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

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

Inheritance diagram for clang::threadSafety::til::MatchComparator:
Inheritance graph
Collaboration diagram for clang::threadSafety::til::MatchComparator:
Collaboration graph

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< MatchComparator >
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< MatchComparator >
MatchComparatorself ()

Detailed Description

Definition at line 362 of file ThreadSafetyTraverse.h.

Member Typedef Documentation

◆ CType

Definition at line 367 of file ThreadSafetyTraverse.h.

Member Function Documentation

◆ compare()

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

Definition at line 376 of file ThreadSafetyTraverse.h.

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

◆ compareExprs()

static bool clang::threadSafety::til::MatchComparator::compareExprs ( const SExpr E1,
const SExpr E2 

Definition at line 394 of file ThreadSafetyTraverse.h.

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

◆ compareIntegers()

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

Definition at line 372 of file ThreadSafetyTraverse.h.

◆ comparePointers()

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

Definition at line 374 of file ThreadSafetyTraverse.h.

◆ compareStrings()

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

Definition at line 373 of file ThreadSafetyTraverse.h.

◆ compareVariableRefs()

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

Definition at line 390 of file ThreadSafetyTraverse.h.

◆ enterScope()

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

Definition at line 387 of file ThreadSafetyTraverse.h.

◆ leaveScope()

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

Definition at line 388 of file ThreadSafetyTraverse.h.

◆ notTrue()

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

Definition at line 370 of file ThreadSafetyTraverse.h.

◆ trueResult()

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

Definition at line 369 of file ThreadSafetyTraverse.h.

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