Home
last modified time | relevance | path

Searched refs:Boolean (Results 1 – 25 of 100) sorted by relevance

1234

/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DBoolean.h25 class Boolean {
35 Boolean() : V(false) {} in Boolean() function
46 Boolean operator-() const { return Boolean(V); }
47 Boolean operator~() const { return Boolean(true); }
84 static Boolean min(unsigned NumBits) { return Boolean(false); } in min()
85 static Boolean max(unsigned NumBits) { return Boolean(true); } in max()
114 static bool increment(Boolean A, Boolean *R) { in increment()
119 static bool decrement(Boolean A, Boolean *R) { in decrement()
123 static bool add(Boolean A, Boolean B, unsigned OpBits, Boolean *R) { in add()
128 static bool sub(Boolean A, Boolean B, unsigned OpBits, Boolean *R) { in sub()
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Dbool-assignment.c80 typedef unsigned char Boolean; typedef
83 Boolean constant = 2; // expected-warning {{Assignment of a non-Boolean value}} in test_Boolean_initialization()
85 Boolean x = y; // expected-warning {{Assignment of a non-Boolean value}} in test_Boolean_initialization()
89 Boolean x = y; // expected-warning {{Assignment of a non-Boolean value}} in test_Boolean_initialization()
92 Boolean x = y; // no-warning in test_Boolean_initialization()
96 Boolean x = 0; // no-warning in test_Boolean_assignment()
112 Boolean copy = n; // expected-warning {{Might assign a tainted non-Boolean value}} in test_tainted_Boolean()
H A DCFNumber.c16 typedef unsigned char Boolean; typedef
18 Boolean CFNumberGetValue(CFNumberRef number, CFNumberType theType, void *valuePtr);
H A Dcfref_PR2519.c5 typedef unsigned char Boolean; typedef
27 … center, CFStringRef name, const void *object, CFDictionaryRef userInfo, Boolean deliverImmediatel…
H A Dcfref_rdar6080742.c11 typedef unsigned char Boolean; typedef
35 Boolean DebugDisplayOSStatusMsg(OSStatus status, const char *statusStr, const char *fileNam…
H A Duninit-vals.c80 typedef unsigned char Boolean; typedef
87 extern Boolean CFNumberGetValue(CFNumberRef number, CFNumberType theType, void *valuePtr);
H A Dmisc-ps-64.m11 typedef unsigned char Boolean; typedef
14 extern Boolean CFDictionaryGetValueIfPresent(CFDictionaryRef theDict, const void *key, const void *…
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DInterpreterProperties.td4 def ExpandRegexAliases: Property<"expand-regex-aliases", "Boolean">,
8 def PromptOnQuit: Property<"prompt-on-quit", "Boolean">,
12 def SaveSessionOnQuit: Property<"save-session-on-quit", "Boolean">,
19 def StopCmdSourceOnError: Property<"stop-command-source-on-error", "Boolean">,
23 def SpaceReplPrompts: Property<"space-repl-prompts", "Boolean">,
27 def EchoCommands: Property<"echo-commands", "Boolean">,
31 def EchoCommentCommands: Property<"echo-comment-commands", "Boolean">,
35 def RepeatPreviousCommand: Property<"repeat-previous-command", "Boolean">,
39 def RequireCommandOverwrite: Property<"require-overwrite", "Boolean">,
/llvm-project-15.0.7/lldb/source/Target/
H A DTargetProperties.td4 def InjectLocalVars : Property<"inject-local-vars", "Boolean">,
14 def MoveToNearestCode: Property<"move-to-nearest-code", "Boolean">,
34 def SkipPrologue: Property<"skip-prologue", "Boolean">,
103 def InheritEnv: Property<"inherit-env", "Boolean">,
115 def DetachOnError: Property<"detach-on-error", "Boolean">,
118 def PreloadSymbols: Property<"preload-symbols", "Boolean">,
121 def DisableASLR: Property<"disable-aslr", "Boolean">,
124 def DisableSTDIO: Property<"disable-stdio", "Boolean">,
127 def InheritTCC: Property<"inherit-tcc", "Boolean">,
230 def StopOnExec: Property<"stop-on-exec", "Boolean">,
[all …]
/llvm-project-15.0.7/clang/test/Sema/
H A Dblock-return.c56 typedef char Boolean; typedef
62Boolean (^isEqual)(const CFBasicHash *, uintptr_t stack_value_or_key1, uintptr_t stack_value_or_ke…
68 Boolean (*value_equal)(uintptr_t, uintptr_t) = 0; in foo3()
70 …CFBasicHash *table, uintptr_t stack_value_or_key1, uintptr_t stack_value_or_key2, Boolean is_key) { in foo3()
71 …return (Boolean)(uintptr_t)INVOKE_CALLBACK2(value_equal, (uintptr_t)stack_value_or_key1, (uintptr_… in foo3()
H A Dimplicit-decl.c11 typedef unsigned char Boolean; typedef
37 Boolean _CFCalendarDecomposeAbsoluteTimeV(const char *componentDesc, int32_t **vector, int32_t coun… in _CFCalendarDecomposeAbsoluteTimeV()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Checkers/
H A DCheckers.td47 CmdLineOption<Boolean,
142 CmdLineOption<Boolean,
148 CmdLineOption<Boolean,
154 CmdLineOption<Boolean,
160 CmdLineOption<Boolean,
165 CmdLineOption<Boolean,
171 CmdLineOption<Boolean,
177 CmdLineOption<Boolean,
182 CmdLineOption<Boolean,
195 CmdLineOption<Boolean,
[all …]
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DJSONGenerator.h32 class Boolean; variable
41 typedef std::shared_ptr<Boolean> BooleanSP;
96 Boolean *GetAsBoolean() { in GetAsBoolean()
98 return (Boolean *)this; in GetAsBoolean()
189 class Boolean : public Object {
191 Boolean(bool b = false) : Object(Type::eTypeBoolean), m_value(b) {} in Object()
193 virtual ~Boolean() {} in ~Boolean()
290 AddItem(key, ObjectSP(new Boolean(value))); in AddBooleanItem()
/llvm-project-15.0.7/lldb/source/Core/
H A DCoreProperties.td4 def EnableExternalLookup: Property<"enable-external-lookup", "Boolean">,
36 def LoadSymbolOnDemand: Property<"load-on-demand", "Boolean">,
43 def AutoConfirm: Property<"auto-confirm", "Boolean">,
55 def NotiftVoid: Property<"notify-void", "Boolean">,
94 def HighlightSource: Property<"highlight-source", "Boolean">,
130 def UseExternalEditor: Property<"use-external-editor", "Boolean">,
134 def UseColor: Property<"use-color", "Boolean">,
138 def ShowProgress: Property<"show-progress", "Boolean">,
150 def UseSourceCache: Property<"use-source-cache", "Boolean">,
158 def AutoIndent: Property<"auto-indent", "Boolean">,
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVLogicalOps.td65 Result Type must be a scalar or vector of Boolean type.
99 Result Type must be a scalar or vector of Boolean type.
133 Result Type must be a scalar or vector of Boolean type.
167 Result Type must be a scalar or vector of Boolean type.
201 Result Type must be a scalar or vector of Boolean type.
232 Result Type must be a scalar or vector of Boolean type.
263 Result Type must be a scalar or vector of Boolean type.
297 Result Type must be a scalar or vector of Boolean type.
331 Result Type must be a scalar or vector of Boolean type.
365 Result Type must be a scalar or vector of Boolean type.
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DStructuredData.h56 class Boolean; variable
65 typedef std::shared_ptr<Boolean> BooleanSP;
119 Boolean *GetAsBoolean() { in GetAsBoolean()
121 ? static_cast<Boolean *>(this) in GetAsBoolean()
126 Boolean *b = GetAsBoolean();
319 class Boolean : public Object {
321 Boolean(bool b = false)
324 ~Boolean() override = default;
404 Boolean *result_ptr = value_sp->GetAsBoolean(); in GetValueForKeyAsBoolean()
522 AddItem(key, std::make_shared<Boolean>(value)); in AddBooleanItem()
/llvm-project-15.0.7/llvm/lib/BinaryFormat/
H A DAMDGPUMetadataVerifier.cpp181 msgpack::Type::Boolean)) in verifyKernelArgs()
184 msgpack::Type::Boolean)) in verifyKernelArgs()
187 msgpack::Type::Boolean)) in verifyKernelArgs()
190 msgpack::Type::Boolean)) in verifyKernelArgs()
264 msgpack::Type::Boolean)) in verifyKernel()
H A DMsgPackDocumentYAML.cpp44 case msgpack::Type::Boolean: in toString()
133 case msgpack::Type::Boolean: in getYAMLTag()
193 case Type::Boolean: in mustQuote()
/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemoteProperties.td12 def UseSVR4: Property<"use-libraries-svr4", "Boolean">,
16 def UseGPacketForReading: Property<"use-g-packet-for-reading", "Boolean">,
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DConvertUTF.h115 typedef unsigned char Boolean; /* 0 or 1 */ typedef
180 Boolean isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd);
182 Boolean isLegalUTF8String(const UTF8 **source, const UTF8 *sourceEnd);
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dobjc-cf-audited-warning.m12 typedef unsigned char Boolean; typedef
18 …sentation(CFAllocatorRef allocator, const UInt8 *buffer, CFIndex bufLen, Boolean isDirectory); // …
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DNonPrivateMemberVariablesInClassesCheck.cpp36 bool, Boolean) { in AST_POLYMORPHIC_MATCHER_P() argument
37 return Boolean; in AST_POLYMORPHIC_MATCHER_P()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h263 VariantValue(bool Boolean);
280 void setBoolean(bool Boolean);
345 bool Boolean; member
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h93 assert(getKind() == Type::Boolean); in getBool()
113 assert(getKind() == Type::Boolean); in getBool()
167 case Type::Boolean:
343 auto N = DocNode(&KindAndDocs[size_t(Type::Boolean)]); in getNode()
/llvm-project-15.0.7/clang/docs/
H A DClangFormatStyleOptions.rst1323 **BinPackArguments** (``Boolean``) :versionbadge:`clang-format 3.7`
1342 **BinPackParameters** (``Boolean``) :versionbadge:`clang-format 3.7`
2357 **CompactNamespaces** (``Boolean``) :versionbadge:`clang-format 5`
2424 **DeriveLineEnding** (``Boolean``) :versionbadge:`clang-format 10`
2435 **DisableFormat** (``Boolean``) :versionbadge:`clang-format 3.7`
2774 **IndentCaseBlocks** (``Boolean``) :versionbadge:`clang-format 11`
2862 **IndentGotoLabels** (``Boolean``) :versionbadge:`clang-format 10`
2969 **InsertBraces** (``Boolean``) :versionbadge:`clang-format 15`
3673 **ReflowComments** (``Boolean``) :versionbadge:`clang-format 4`
3688 **RemoveBracesLLVM** (``Boolean``) :versionbadge:`clang-format 14`
[all …]

1234