Home
last modified time | relevance | path

Searched refs:has_value (Results 1 – 25 of 136) sorted by relevance

123456

/openbsd/src/gnu/llvm/clang/include/clang/Basic/
DCustomizableOptional.h82 constexpr explicit operator bool() const { return has_value(); }
83 constexpr bool has_value() const { return Storage.has_value(); } in has_value() function
90 return has_value() ? operator*() : std::forward<U>(alt); in value_or()
98 return has_value() ? std::move(operator*()) : std::forward<U>(alt); in value_or()
123 return X.has_value() == Y.has_value();
137 return X.has_value() < Y.has_value();
185 return X.has_value();
DDirectoryEntry.h139 bool has_value() const { return MaybeRef.hasOptionalValue(); }
142 assert(has_value());
146 assert(has_value());
150 assert(has_value());
295 return has_value() ? &(*this)->getDirEntry() : nullptr;
/openbsd/src/gnu/llvm/llvm/include/llvm/ObjectYAML/
DELFYAML.h324 return {{"Entries", Entries.has_value()}}; in getEntries()
338 return {{"Entries", Entries.has_value()}}; in getEntries()
356 return {{"Entries", Entries.has_value()}}; in getEntries()
387 return {{"Notes", Notes.has_value()}}; in getEntries()
398 return {{"Bucket", Bucket.has_value()}, {"Chain", Chain.has_value()}}; in getEntries()
440 return {{"Header", Header.has_value()}, in getEntries()
441 {"BloomFilter", BloomFilter.has_value()}, in getEntries()
442 {"HashBuckets", HashBuckets.has_value()}, in getEntries()
443 {"HashValues", HashValues.has_value()}}; in getEntries()
469 return {{"Dependencies", VerneedV.has_value()}}; in getEntries()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/MC/
DMCSymbolWasm.h89 bool hasImportModule() const { return ImportModule.has_value(); } in hasImportModule()
101 bool hasImportName() const { return ImportName.has_value(); } in hasImportName()
109 bool hasExportName() const { return ExportName.has_value(); } in hasExportName()
137 bool hasTableType() const { return TableType.has_value(); } in hasTableType()
DMCSectionXCOFF.h119 bool isCsect() const { return CsectProp.has_value(); } in isCsect()
120 bool isDwarfSect() const { return DwarfSubtypeFlags.has_value(); } in isDwarfSect()
DMCDwarf.h303 trackMD5Usage(Checksum.has_value()); in setRootFile()
304 HasSource = Source.has_value(); in setRootFile()
383 Header.trackMD5Usage(Checksum.has_value()); in setRootFile()
384 Header.HasSource = Source.has_value(); in setRootFile()
/openbsd/src/gnu/llvm/llvm/include/llvm/DebugInfo/GSYM/
DFunctionInfo.h200 if (LHS.Inline.has_value() != RHS.Inline.has_value())
201 return RHS.Inline.has_value();
/openbsd/src/gnu/llvm/llvm/lib/MC/MCDisassembler/
DMCDisassembler.cpp91 if (StorageMappingClass.has_value() != in operator <()
92 SymInfo.StorageMappingClass.has_value()) in operator <()
93 return SymInfo.StorageMappingClass.has_value(); in operator <()
/openbsd/src/gnu/llvm/libcxx/include/
Doptional127 constexpr bool has_value() const noexcept;
329 constexpr bool has_value() const noexcept
359 _LIBCPP_ASSERT(!has_value(), "__construct called for engaged __optional_storage");
372 if (__opt.has_value())
380 if (this->__engaged_ == __opt.has_value())
439 constexpr bool has_value() const noexcept
454 _LIBCPP_ASSERT(!has_value(), "__construct called for engaged __optional_storage");
465 if (__opt.has_value())
473 if (has_value() == __opt.has_value())
475 if (has_value())
[all …]
/openbsd/src/gnu/llvm/llvm/lib/IR/
DVectorBuilder.cpp67 NumInstParams + MaskPosOpt.has_value() + VLenPosOpt.has_value(); in createVectorInstruction()
/openbsd/src/gnu/llvm/lldb/source/Utility/
DSelectHelper.cpp141 if (max_read_fd.has_value()) { in Select()
145 if (max_write_fd.has_value()) { in Select()
149 if (max_error_fd.has_value()) { in Select()
/openbsd/src/gnu/llvm/clang/lib/Basic/
DSarif.cpp240 if (Location.Index.has_value()) in createPhysicalLocation()
299 if (A.Location.Index.has_value()) { in endRun()
304 if (A.Length.has_value()) in endRun()
310 if (A.Offset.has_value()) in endRun()
/openbsd/src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DConstraintManager.h62 bool isConstrained() const { return Val.has_value(); } in isConstrained()
66 bool isUnderconstrained() const { return !Val.has_value(); } in isUnderconstrained()
/openbsd/src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
DReduceGlobalObjects.cpp17 return GO.getAlign().has_value(); in shouldReduceAlign()
/openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/
DObjCARCUtil.h38 .has_value(); in hasAttachedCallOpBundle()
/openbsd/src/gnu/llvm/lldb/include/lldb/Core/
DRichManglingContext.h89 assert(parser.has_value()); in get()
DDataFileCache.h139 bool IsValid() const { return m_uuid.has_value(); } in IsValid()
/openbsd/src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/objcxx/
DPlatformiOSSimulatorCoreSimulatorSupport.mm170 if (!m_model_identifier.has_value()) {
176 if (m_model_identifier.has_value())
184 if (!m_os_version.has_value()) {
193 if (m_os_version.has_value())
221 if (!m_dev_type.has_value())
229 if (!m_dev_runtime.has_value())
/openbsd/src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/
DPlatformAppleSimulator.cpp108 if (m_device.has_value() && m_device->operator bool()) { in GetStatus()
230 if (!m_core_simulator_framework_path.has_value()) { in GetCoreSimulatorPath()
255 if (!m_device.has_value()) { in GetSimulatorDevice()
264 if (m_device.has_value()) in GetSimulatorDevice()
/openbsd/src/gnu/llvm/lldb/examples/synthetic/
Dgnu_libstdcpp.py17 has_value = valobj.GetNumChildren() > 0
19 return " Has Value=" + ("true" if has_value else "false") + " "
30 … self.has_value = self.payload.GetChildMemberWithName('_M_engaged').GetValueAsUnsigned(0) != 0
32 self.has_value = False
37 return 1 if self.has_value else 0
/openbsd/src/gnu/llvm/llvm/include/llvm/Frontend/OpenMP/
DOMPIRBuilder.h114 assert(IsEmbedded.has_value() && "IsEmbedded is not set"); in isEmbedded()
119 assert(IsTargetCodegen.has_value() && "IsTargetCodegen is not set"); in isTargetCodegen()
124 assert(HasRequiresUnifiedSharedMemory.has_value() && in hasRequiresUnifiedSharedMemory()
130 assert(OpenMPOffloadMandatory.has_value() && in openMPOffloadMandatory()
137 if (FirstSeparator.has_value()) in firstSeparator()
147 if (Separator.has_value()) in separator()
/openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/
DSelectionDAGAddressAnalysis.h55 bool hasValidOffset() const { return Offset.has_value(); } in hasValidOffset()
/openbsd/src/gnu/llvm/lldb/source/Breakpoint/
DBreakpointResolverFileLine.cpp222 if (!m_removed_prefix_opt.has_value() && request_file.IsRelative()) in DeduceSourceMapping()
244 if (m_removed_prefix_opt.has_value()) in DeduceSourceMapping()
/openbsd/src/gnu/llvm/llvm/lib/ObjectYAML/
DDXContainerEmitter.cpp176 if (!P.Flags.has_value()) in writeParts()
185 if (!P.Hash.has_value()) in writeParts()
/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DInlineOrder.cpp155 bool P1HasCB = P1.CostBenefit.has_value(); in isMoreDesirable()
156 bool P2HasCB = P2.CostBenefit.has_value(); in isMoreDesirable()

123456