Home
last modified time | relevance | path

Searched refs:OSLogBufferItem (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DOSLog.cpp14 using clang::analyze_os_log::OSLogBufferItem;
23 Optional<OSLogBufferItem::Kind> Kind;
34 OSLogBufferItem::Kind
38 return OSLogBufferItem::StringKind; in getKind()
40 return OSLogBufferItem::WideStringKind; in getKind()
42 return OSLogBufferItem::PointerKind; in getKind()
44 return OSLogBufferItem::ObjCObjKind; in getKind()
46 return OSLogBufferItem::ErrnoKind; in getKind()
48 return OSLogBufferItem::ScalarKind; in getKind()
129 ArgsData.back().Flags |= OSLogBufferItem::IsPublic; in HandlePrintfSpecifier()
[all …]
H A DPrintfFormatString.cpp150 PrivacyFlags = clang::analyze_os_log::OSLogBufferItem::IsSensitive; in ParsePrintfSpecifier()
152 clang::analyze_os_log::OSLogBufferItem::IsSensitive && in ParsePrintfSpecifier()
154 PrivacyFlags = clang::analyze_os_log::OSLogBufferItem::IsPrivate; in ParsePrintfSpecifier()
156 PrivacyFlags = clang::analyze_os_log::OSLogBufferItem::IsPublic; in ParsePrintfSpecifier()
177 case clang::analyze_os_log::OSLogBufferItem::IsPrivate: in ParsePrintfSpecifier()
180 case clang::analyze_os_log::OSLogBufferItem::IsPublic: in ParsePrintfSpecifier()
183 case clang::analyze_os_log::OSLogBufferItem::IsSensitive: in ParsePrintfSpecifier()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DOSLog.h25 class OSLogBufferItem {
80 OSLogBufferItem(Kind kind, const Expr *expr, CharUnits size, unsigned flags,
89 OSLogBufferItem(ASTContext &Ctx, CharUnits value, unsigned flags) in OSLogBufferItem() function
113 SmallVector<OSLogBufferItem, 4> Items;
129 Items, [](const OSLogBufferItem &Item) { return Item.getIsPrivate(); }); in hasPrivateItems()
133 return llvm::any_of(Items, [](const OSLogBufferItem &Item) { in hasNonScalarOrMask()
134 return Item.getKind() != OSLogBufferItem::ScalarKind || in hasNonScalarOrMask()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBuiltin.cpp1838 if (Item.getKind() == analyze_os_log::OSLogBufferItem::MaskKind) { in emitBuiltinOSLogFormat()