clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::consumed::ConsumedAnalyzer Class Reference

A class that handles the analysis of uniqueness violations. More...

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

Public Member Functions

 ConsumedAnalyzer (ConsumedWarningsHandlerBase &WarningsHandler)
 
ConsumedState getExpectedReturnState () const
 
void run (AnalysisDeclContext &AC)
 Check a function's CFG for consumed violations.
 

Public Attributes

ConsumedWarningsHandlerBaseWarningsHandler
 

Detailed Description

A class that handles the analysis of uniqueness violations.

Definition at line 243 of file Consumed.h.

Constructor & Destructor Documentation

◆ ConsumedAnalyzer()

clang::consumed::ConsumedAnalyzer::ConsumedAnalyzer ( ConsumedWarningsHandlerBase WarningsHandler)
inline

Definition at line 257 of file Consumed.h.

Member Function Documentation

◆ getExpectedReturnState()

ConsumedState clang::consumed::ConsumedAnalyzer::getExpectedReturnState ( ) const
inline

Definition at line 260 of file Consumed.h.

Referenced by clang::consumed::ConsumedStmtVisitor::VisitReturnStmt().

◆ run()

void ConsumedAnalyzer::run ( AnalysisDeclContext AC)

Member Data Documentation

◆ WarningsHandler

ConsumedWarningsHandlerBase& clang::consumed::ConsumedAnalyzer::WarningsHandler

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