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

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

Collaboration diagram for clang::analyze_os_log::OSLogBufferLayout:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

CharUnits size () const
 
bool hasPrivateItems () const
 
bool hasPublicItems () const
 
bool hasNonScalar () const
 
unsigned char getSummaryByte () const
 
unsigned char getNumArgsByte () const
 

Public Attributes

SmallVector< OSLogBufferItem, 4 > Items
 

Detailed Description

Definition at line 102 of file OSLog.h.

Member Enumeration Documentation

◆ Flags

Enumerator
HasPrivateItems 
HasNonScalarItems 

Definition at line 106 of file OSLog.h.

Member Function Documentation

◆ getNumArgsByte()

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

Definition at line 143 of file OSLog.h.

References clang::analyze_os_log::computeOSLogBufferLayout().

◆ getSummaryByte()

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

Definition at line 134 of file OSLog.h.

◆ hasNonScalar()

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

◆ hasPrivateItems()

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

Definition at line 118 of file OSLog.h.

References clang::analyze_os_log::OSLogBufferItem::getIsPrivate().

◆ hasPublicItems()

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

Definition at line 123 of file OSLog.h.

References clang::analyze_os_log::OSLogBufferItem::getIsPublic().

◆ size()

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

Definition at line 108 of file OSLog.h.

References clang::CharUnits::fromQuantity().

Member Data Documentation

◆ Items

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

Definition at line 104 of file OSLog.h.

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


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