clang  17.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"

Collaboration diagram for clang::consumed::ConsumedAnalyzer:
Collaboration graph

Public Member Functions

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

Public Attributes


Detailed Description

A class that handles the analysis of uniqueness violations.

Definition at line 239 of file Consumed.h.

Constructor & Destructor Documentation

◆ ConsumedAnalyzer()

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

Definition at line 253 of file Consumed.h.

Member Function Documentation

◆ getExpectedReturnState()

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

Definition at line 256 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: