class OSLogBufferItem
Declaration
class OSLogBufferItem { /* full declaration omitted */ };
Description
An OSLogBufferItem represents a single item in the data written by a call to os_log() or os_trace().
Declared at: clang/include/clang/AST/OSLog.h:25
Member Variables
- private clang::analyze_os_log::OSLogBufferItem::Kind TheKind = ScalarKind
- private const clang::Expr* TheExpr = nullptr
- private clang::CharUnits ConstValue
- private clang::CharUnits Size
- private unsigned int Flags = 0
- private llvm::StringRef MaskType
Method Overview
- public OSLogBufferItem(clang::analyze_os_log::OSLogBufferItem::Kind kind, const clang::Expr * expr, clang::CharUnits size, unsigned int flags, llvm::StringRef maskType = llvm::StringRef())
- public OSLogBufferItem(clang::ASTContext & Ctx, clang::CharUnits value, unsigned int flags)
- public clang::CharUnits getConstValue() const
- public unsigned char getDescriptorByte() const
- public const clang::Expr * getExpr() const
- public bool getIsPrivate() const
- public clang::analyze_os_log::OSLogBufferItem::Kind getKind() const
- public llvm::StringRef getMaskType() const
- public unsigned char getSizeByte() const
- public clang::CharUnits size() const
Methods
¶OSLogBufferItem(
clang::analyze_os_log::OSLogBufferItem::Kind
kind,
const clang::Expr* expr,
clang::CharUnits size,
unsigned int flags,
llvm::StringRef maskType = llvm::StringRef())
OSLogBufferItem(
clang::analyze_os_log::OSLogBufferItem::Kind
kind,
const clang::Expr* expr,
clang::CharUnits size,
unsigned int flags,
llvm::StringRef maskType = llvm::StringRef())
Declared at: clang/include/clang/AST/OSLog.h:80
Parameters
- clang::analyze_os_log::OSLogBufferItem::Kind kind
- const clang::Expr* expr
- clang::CharUnits size
- unsigned int flags
- llvm::StringRef maskType = llvm::StringRef()
¶OSLogBufferItem(clang::ASTContext& Ctx,
clang::CharUnits value,
unsigned int flags)
OSLogBufferItem(clang::ASTContext& Ctx,
clang::CharUnits value,
unsigned int flags)
Declared at: clang/include/clang/AST/OSLog.h:89
Parameters
- clang::ASTContext& Ctx
- clang::CharUnits value
- unsigned int flags
¶clang::CharUnits getConstValue() const
clang::CharUnits getConstValue() const
Declared at: clang/include/clang/AST/OSLog.h:105
¶unsigned char getDescriptorByte() const
unsigned char getDescriptorByte() const
Declared at: clang/include/clang/AST/OSLog.h:93
¶const clang::Expr* getExpr() const
const clang::Expr* getExpr() const
Declared at: clang/include/clang/AST/OSLog.h:104
¶bool getIsPrivate() const
bool getIsPrivate() const
Declared at: clang/include/clang/AST/OSLog.h:102
¶clang::analyze_os_log::OSLogBufferItem::Kind
getKind() const
clang::analyze_os_log::OSLogBufferItem::Kind
getKind() const
Declared at: clang/include/clang/AST/OSLog.h:101
¶llvm::StringRef getMaskType() const
llvm::StringRef getMaskType() const
Declared at: clang/include/clang/AST/OSLog.h:108
¶unsigned char getSizeByte() const
unsigned char getSizeByte() const
Declared at: clang/include/clang/AST/OSLog.h:99
¶clang::CharUnits size() const
clang::CharUnits size() const
Declared at: clang/include/clang/AST/OSLog.h:106