clang 20.0.0git
Public Types | Public Member Functions | List of all members
clang::FixitStrategy Class Reference

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

Public Types

enum class  Kind {
  Wontfix , Span , Iterator , Array ,
  Vector
}
 

Public Member Functions

 FixitStrategy ()=default
 
 FixitStrategy (const FixitStrategy &)=delete
 
FixitStrategyoperator= (const FixitStrategy &)=delete
 
 FixitStrategy (FixitStrategy &&)=default
 
FixitStrategyoperator= (FixitStrategy &&)=default
 
void set (const VarDecl *VD, Kind K)
 
Kind lookup (const VarDecl *VD) const
 

Detailed Description

Definition at line 50 of file UnsafeBufferUsage.h.

Member Enumeration Documentation

◆ Kind

enum class clang::FixitStrategy::Kind
strong
Enumerator
Wontfix 
Span 
Iterator 
Array 
Vector 

Definition at line 52 of file UnsafeBufferUsage.h.

Constructor & Destructor Documentation

◆ FixitStrategy() [1/3]

clang::FixitStrategy::FixitStrategy ( )
default

◆ FixitStrategy() [2/3]

clang::FixitStrategy::FixitStrategy ( const FixitStrategy )
delete

◆ FixitStrategy() [3/3]

clang::FixitStrategy::FixitStrategy ( FixitStrategy &&  )
default

Member Function Documentation

◆ lookup()

Kind clang::FixitStrategy::lookup ( const VarDecl VD) const
inline

Definition at line 74 of file UnsafeBufferUsage.h.

References Wontfix.

◆ operator=() [1/2]

FixitStrategy & clang::FixitStrategy::operator= ( const FixitStrategy )
delete

◆ operator=() [2/2]

FixitStrategy & clang::FixitStrategy::operator= ( FixitStrategy &&  )
default

◆ set()

void clang::FixitStrategy::set ( const VarDecl VD,
Kind  K 
)
inline

Definition at line 72 of file UnsafeBufferUsage.h.


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