clang 17.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
clang::analyze_os_log::OSLogBufferLayout Class Reference

#include "clang/AST/OSLog.h"

Collaboration diagram for clang::analyze_os_log::OSLogBufferLayout:
Collaboration graph

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


Definition at line 115 of file OSLog.h.

Member Function Documentation

◆ getNumArgsByte()

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

Definition at line 148 of file OSLog.h.

References Items.

◆ getSummaryByte()

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

Definition at line 139 of file OSLog.h.

References HasNonScalarItems, hasNonScalarOrMask(), HasPrivateItems, and hasPrivateItems().

◆ hasNonScalarOrMask()

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

◆ hasPrivateItems()

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

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

Definition at line 117 of file OSLog.h.

References clang::CharUnits::fromQuantity(), and Items.

Member Data Documentation

◆ Items

SmallVector<OSLogBufferItem, 4> clang::analyze_os_log::OSLogBufferLayout::Items

Definition at line 113 of file OSLog.h.

Referenced by getNumArgsByte(), hasNonScalarOrMask(), hasPrivateItems(), and size().

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