clang 22.0.0git
clang::analyze_os_log::OSLogBufferLayout Class Reference

#include "clang/AST/OSLog.h"

Public Types

enum  Flags { HasPrivateItems = 1 , HasNonScalarItems = 1 << 1 }

Public Member Functions

CharUnits size () const
bool hasPrivateItems () const
bool hasNonScalarOrMask () const
unsigned char getSummaryByte () const
unsigned char getNumArgsByte () const

Public Attributes

SmallVector< OSLogBufferItem, 4 > Items

Detailed Description

Definition at line 111 of file OSLog.h.

Member Enumeration Documentation

◆ Flags

Enumerator
HasPrivateItems 
HasNonScalarItems 

Definition at line 115 of file OSLog.h.

Member Function Documentation

◆ getNumArgsByte()

unsigned char clang::analyze_os_log::OSLogBufferLayout::getNumArgsByte ( ) const
inline

Definition at line 148 of file OSLog.h.

References Items.

Referenced by clang::CodeGen::CodeGenFunction::generateBuiltinOSLogHelperFunction().

◆ getSummaryByte()

unsigned char clang::analyze_os_log::OSLogBufferLayout::getSummaryByte ( ) const
inline

◆ hasNonScalarOrMask()

bool clang::analyze_os_log::OSLogBufferLayout::hasNonScalarOrMask ( ) const
inline

◆ hasPrivateItems()

bool clang::analyze_os_log::OSLogBufferLayout::hasPrivateItems ( ) const
inline

Definition at line 127 of file OSLog.h.

References clang::analyze_os_log::OSLogBufferItem::getIsPrivate(), and Items.

Referenced by getSummaryByte().

◆ size()

CharUnits clang::analyze_os_log::OSLogBufferLayout::size ( ) const
inline

Member Data Documentation

◆ Items


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