clang 22.0.0git
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 51 of file UnsafeBufferUsage.h.

Member Enumeration Documentation

◆ Kind

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

Definition at line 53 of file UnsafeBufferUsage.h.

Constructor & Destructor Documentation

◆ FixitStrategy() [1/3]

clang::FixitStrategy::FixitStrategy ( )
default

◆ FixitStrategy() [2/3]

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

References FixitStrategy().

◆ FixitStrategy() [3/3]

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

References FixitStrategy().

Member Function Documentation

◆ lookup()

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

◆ operator=() [1/2]

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

References FixitStrategy().

◆ operator=() [2/2]

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

References FixitStrategy().

◆ set()

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

Definition at line 73 of file UnsafeBufferUsage.h.

Referenced by getNaiveStrategy().


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