clang 20.0.0git
|
An OSLogBufferItem represents a single item in the data written by a call to os_log() or os_trace(). More...
#include "clang/AST/OSLog.h"
Public Types | |
enum | Kind { ScalarKind = 0 , CountKind , StringKind , PointerKind , ObjCObjKind , WideStringKind , ErrnoKind , MaskKind } |
enum | { IsPrivate = 0x1 , IsPublic = 0x2 , IsSensitive = 0x4 | IsPrivate } |
Public Member Functions | |
OSLogBufferItem (Kind kind, const Expr *expr, CharUnits size, unsigned flags, StringRef maskType=StringRef()) | |
OSLogBufferItem (ASTContext &Ctx, CharUnits value, unsigned flags) | |
unsigned char | getDescriptorByte () const |
unsigned char | getSizeByte () const |
Kind | getKind () const |
bool | getIsPrivate () const |
const Expr * | getExpr () const |
CharUnits | getConstValue () const |
CharUnits | size () const |
StringRef | getMaskType () const |
An OSLogBufferItem represents a single item in the data written by a call to os_log() or os_trace().
|
inline |
Definition at line 80 of file OSLog.h.
References IsPrivate, IsPublic, and IsSensitive.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 102 of file OSLog.h.
References IsPrivate.
Referenced by clang::analyze_os_log::OSLogBufferLayout::hasPrivateItems().
|
inline |
Definition at line 101 of file OSLog.h.
Referenced by getDescriptorByte(), and clang::analyze_os_log::OSLogBufferLayout::hasNonScalarOrMask().
|
inline |
Definition at line 108 of file OSLog.h.
Referenced by clang::analyze_os_log::OSLogBufferLayout::hasNonScalarOrMask().
|
inline |
Definition at line 99 of file OSLog.h.
References clang::CharUnits::getQuantity(), and size().
|
inline |
Definition at line 106 of file OSLog.h.
Referenced by getSizeByte().