clang 24.0.0git
clang::lifetimes::LifetimeSafetyOpts Struct Reference

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

Public Attributes

size_t MaxCFGBlocks
 Maximum number of CFG blocks to analyze.
bool SuggestAnnotations
 Whether to suggest lifetime annotations.
bool CheckNoescapeViolations
bool CheckLifetimeboundViolations
bool CheckMisplacedLifetimebound
bool CheckInapplicableLifetimebound

Detailed Description

Definition at line 37 of file LifetimeSafety.h.

Member Data Documentation

◆ CheckInapplicableLifetimebound

bool clang::lifetimes::LifetimeSafetyOpts::CheckInapplicableLifetimebound

Definition at line 48 of file LifetimeSafety.h.

Referenced by clang::lifetimes::GetLifetimeSafetyOpts().

◆ CheckLifetimeboundViolations

bool clang::lifetimes::LifetimeSafetyOpts::CheckLifetimeboundViolations

Definition at line 46 of file LifetimeSafety.h.

Referenced by clang::lifetimes::GetLifetimeSafetyOpts().

◆ CheckMisplacedLifetimebound

bool clang::lifetimes::LifetimeSafetyOpts::CheckMisplacedLifetimebound

Definition at line 47 of file LifetimeSafety.h.

Referenced by clang::lifetimes::GetLifetimeSafetyOpts().

◆ CheckNoescapeViolations

bool clang::lifetimes::LifetimeSafetyOpts::CheckNoescapeViolations

Definition at line 45 of file LifetimeSafety.h.

Referenced by clang::lifetimes::GetLifetimeSafetyOpts().

◆ MaxCFGBlocks

size_t clang::lifetimes::LifetimeSafetyOpts::MaxCFGBlocks

Maximum number of CFG blocks to analyze.

Functions with larger CFGs will be skipped.

Definition at line 40 of file LifetimeSafety.h.

Referenced by clang::lifetimes::GetLifetimeSafetyOpts().

◆ SuggestAnnotations

bool clang::lifetimes::LifetimeSafetyOpts::SuggestAnnotations

Whether to suggest lifetime annotations.

Definition at line 43 of file LifetimeSafety.h.

Referenced by clang::lifetimes::GetLifetimeSafetyOpts().


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