clang API Documentation

Public Member Functions | Static Public Member Functions
LogicalErrorHandler Class Reference

Warn on logical operator errors in CFGBuilder. More...

Inheritance diagram for LogicalErrorHandler:
Inheritance graph
[legend]
Collaboration diagram for LogicalErrorHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LogicalErrorHandler (Sema &S)
void compareAlwaysTrue (const BinaryOperator *B, bool isAlwaysTrue)
void compareBitwiseEquality (const BinaryOperator *B, bool isAlwaysTrue)

Static Public Member Functions

static bool HasMacroID (const Expr *E)

Detailed Description

Warn on logical operator errors in CFGBuilder.

Definition at line 121 of file AnalysisBasedWarnings.cpp.


Constructor & Destructor Documentation

Definition at line 125 of file AnalysisBasedWarnings.cpp.


Member Function Documentation

void LogicalErrorHandler::compareAlwaysTrue ( const BinaryOperator B,
bool  isAlwaysTrue 
) [inline, virtual]
void LogicalErrorHandler::compareBitwiseEquality ( const BinaryOperator B,
bool  isAlwaysTrue 
) [inline, virtual]
static bool LogicalErrorHandler::HasMacroID ( const Expr E) [inline, static]

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