clang 24.0.0git
clang::Sema::BoundsAttrFlags Struct Reference

#include "clang/Sema/Sema.h"

Static Public Member Functions

static BoundsAttrFlags get (AttributeCommonInfo::Kind K)
 Return the flags for a bounds attribute of kind K.

Public Attributes

bool CountInBytes = false
bool OrNull = false
bool IsEndedBy = false

Detailed Description

Definition at line 2524 of file Sema.h.

Member Function Documentation

◆ get()

Sema::BoundsAttrFlags clang::Sema::BoundsAttrFlags::get ( AttributeCommonInfo::Kind K)
static

Return the flags for a bounds attribute of kind K.

Definition at line 36 of file SemaBoundsSafety.cpp.

References CountInBytes, and OrNull.

Referenced by clang::Sema::ValidateBoundsAttrTypeForTypePosition().

Member Data Documentation

◆ CountInBytes

bool clang::Sema::BoundsAttrFlags::CountInBytes = false

◆ IsEndedBy

bool clang::Sema::BoundsAttrFlags::IsEndedBy = false

Definition at line 2527 of file Sema.h.

Referenced by clang::Sema::getBoundsAttrKind().

◆ OrNull

bool clang::Sema::BoundsAttrFlags::OrNull = false

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