clang  6.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
[legend]
Collaboration diagram for clang::threadSafety::til::MatchComparator:
Collaboration graph
[legend]

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

Member Typedef Documentation

◆ CType

Definition at line 343 of file ThreadSafetyTraverse.h.

Member Function Documentation

◆ compare()

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

Definition at line 352 of file ThreadSafetyTraverse.h.

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

◆ compareExprs()

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

Definition at line 370 of file ThreadSafetyTraverse.h.

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

◆ compareIntegers()

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

Definition at line 348 of file ThreadSafetyTraverse.h.

◆ comparePointers()

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

Definition at line 350 of file ThreadSafetyTraverse.h.

◆ compareStrings()

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

Definition at line 349 of file ThreadSafetyTraverse.h.

◆ compareVariableRefs()

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

Definition at line 366 of file ThreadSafetyTraverse.h.

◆ enterScope()

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

Definition at line 363 of file ThreadSafetyTraverse.h.

◆ leaveScope()

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

Definition at line 364 of file ThreadSafetyTraverse.h.

◆ notTrue()

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

Definition at line 346 of file ThreadSafetyTraverse.h.

◆ trueResult()

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

Definition at line 345 of file ThreadSafetyTraverse.h.


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