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

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

Public Attributes

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

Detailed Description

Definition at line 37 of file LifetimeSafety.h.

Member Data Documentation

◆ CheckFieldOriginEscape

bool clang::lifetimes::LifetimeSafetyOpts::CheckFieldOriginEscape = false

Definition at line 49 of file LifetimeSafety.h.

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

◆ CheckInapplicableLifetimebound

bool clang::lifetimes::LifetimeSafetyOpts::CheckInapplicableLifetimebound = false

Definition at line 48 of file LifetimeSafety.h.

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

◆ CheckLifetimeboundViolations

bool clang::lifetimes::LifetimeSafetyOpts::CheckLifetimeboundViolations = false

Definition at line 46 of file LifetimeSafety.h.

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

◆ CheckMisplacedLifetimebound

bool clang::lifetimes::LifetimeSafetyOpts::CheckMisplacedLifetimebound = false

Definition at line 47 of file LifetimeSafety.h.

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

◆ CheckNoescapeViolations

bool clang::lifetimes::LifetimeSafetyOpts::CheckNoescapeViolations = false

Definition at line 45 of file LifetimeSafety.h.

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

◆ MaxCFGBlocks

size_t clang::lifetimes::LifetimeSafetyOpts::MaxCFGBlocks = 0

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 = false

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: