| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | CustomizableOptional.h | 82 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() 115 return X.has_value() == Y.has_value(); 129 return X.has_value() < Y.has_value(); 177 return X.has_value();
|
| H A D | DirectoryEntry.h | 133 bool has_value() const { return MaybeRef.hasOptionalValue(); } 136 assert(has_value()); 140 assert(has_value()); 144 assert(has_value());
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
| H A D | ELFYAML.h | 350 return {{"Entries", Entries.has_value()}}; in getEntries() 364 return {{"Entries", Entries.has_value()}}; in getEntries() 382 return {{"Entries", Entries.has_value()}}; in getEntries() 413 return {{"Notes", Notes.has_value()}}; in getEntries() 424 return {{"Bucket", Bucket.has_value()}, {"Chain", Chain.has_value()}}; in getEntries() 466 return {{"Header", Header.has_value()}, in getEntries() 467 {"BloomFilter", BloomFilter.has_value()}, in getEntries() 468 {"HashBuckets", HashBuckets.has_value()}, in getEntries() 469 {"HashValues", HashValues.has_value()}}; in getEntries() 495 return {{"Dependencies", VerneedV.has_value()}}; in getEntries() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | HardwareLoops.h | 54 return ForcePhi.has_value() && ForcePhi.value(); in getForcePhi() 57 return ForceNested.has_value() && ForceNested.value(); in getForceNested() 60 return ForceGuard.has_value() && ForceGuard.value(); in getForceGuard()
|
| /freebsd/contrib/llvm-project/libcxx/include/__expected/ |
| H A D | expected.h | 824 _LIBCPP_HIDE_FROM_ABI constexpr bool has_value() const noexcept { return this->__has_val(); } 902 if (has_value()) 911 if (has_value()) 924 if (has_value()) { 937 if (has_value()) { 951 if (has_value()) { 965 if (has_value()) { 978 if (has_value()) { 991 if (has_value()) { 1005 if (has_value()) { [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/MCDisassembler/ |
| H A D | MCDisassembler.cpp | 91 if (StorageMappingClass.has_value() != in operator <() 92 SymInfo.StorageMappingClass.has_value()) in operator <() 93 return SymInfo.StorageMappingClass.has_value(); in operator <()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCSymbolWasm.h | 90 bool hasImportModule() const { return ImportModule.has_value(); } in hasImportModule() 102 bool hasImportName() const { return ImportName.has_value(); } in hasImportName() 110 bool hasExportName() const { return ExportName.has_value(); } in hasExportName() 140 bool hasTableType() const { return TableType.has_value(); } in hasTableType()
|
| H A D | MCSectionXCOFF.h | 125 bool isCsect() const { return CsectProp.has_value(); } in isCsect() 126 bool isDwarfSect() const { return DwarfSubtypeFlags.has_value(); } in isDwarfSect()
|
| H A D | MCDwarf.h | 308 trackMD5Usage(Checksum.has_value()); in setRootFile() 309 HasAnySource |= Source.has_value(); in setRootFile() 388 Header.trackMD5Usage(Checksum.has_value()); in setRootFile() 389 Header.HasAnySource |= Source.has_value(); in setRootFile()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
| H A D | FunctionInfo.h | |
| /freebsd/contrib/llvm-project/libcxx/include/ |
| H A D | optional | 146 constexpr bool has_value() const noexcept; 353 _LIBCPP_HIDE_FROM_ABI constexpr bool has_value() const noexcept { return this->__engaged_; } 362 _LIBCPP_ASSERT_INTERNAL(!has_value(), "__construct called for engaged __optional_storage"); 369 if (__opt.has_value()) 375 if (this->__engaged_ == __opt.has_value()) { 424 _LIBCPP_HIDE_FROM_ABI constexpr bool has_value() const noexcept { return __value_ != nullptr; } 432 _LIBCPP_ASSERT_INTERNAL(!has_value(), "__construct called for engaged __optional_storage"); 441 if (__opt.has_value()) 447 if (has_value() == __opt.has_value()) { 448 if (has_value()) [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | Statistics.h | 145 if (m_include_targets.has_value()) in GetIncludeTargets() 153 if (m_include_modules.has_value()) in GetIncludeModules() 162 if (m_include_transcript.has_value()) in GetIncludeTranscript()
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | PGOCtxProfReader.cpp | 90 return Guid.has_value() && Counters.has_value() && in readContext() 91 (!ExpectIndex || CallsiteIndex.has_value()); in readContext()
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | MSVC.cpp | 556 if (!(WinSdkDir.has_value() || WinSysRoot.has_value()) && in getWindowsSDKLibraryPath() 557 WinSdkVersion.has_value()) in getWindowsSDKLibraryPath() 580 if (!(WinSdkDir.has_value() || WinSysRoot.has_value()) && in getUniversalCRTLibraryPath() 581 WinSdkVersion.has_value()) in getUniversalCRTLibraryPath() 713 if (!(WinSdkDir.has_value() || WinSysRoot.has_value()) && in AddClangSystemIncludeArgs() 714 WinSdkVersion.has_value()) in AddClangSystemIncludeArgs() 729 if (!(WinSdkDir.has_value() || WinSysRoot.has_value()) && in AddClangSystemIncludeArgs() 730 WinSdkVersion.has_value()) in AddClangSystemIncludeArgs()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | LogicalResult.h | 93 operator LogicalResult() const { return success(has_value()); } in LogicalResult() 98 using std::optional<T>::has_value;
|
| /freebsd/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectProcess.cpp | 1638 if (!m_options.notify.empty() && !notify_action.has_value()) { in DoExecute() 1641 bool no_actions = (!stop_action.has_value() && !pass_action.has_value() && in DoExecute() 1642 !notify_action.has_value()); in DoExecute() 1680 if (stop_action.has_value()) in DoExecute() 1682 if (pass_action.has_value()) { in DoExecute() 1686 if (notify_action.has_value()) in DoExecute() 1708 if (!action.has_value()) in DoExecute() 1723 if ((notify_action.has_value() || stop_action.has_value() || in DoExecute() 1724 pass_action.has_value()) && in DoExecute() 1730 if (notify_action.has_value()) in DoExecute() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/APINotes/ |
| H A D | Types.h | 88 SwiftPrivateSpecified = Private.has_value(); in setSwiftPrivate() 253 SwiftImportAsNonGenericSpecified = Value.has_value(); in setSwiftImportAsNonGeneric() 262 SwiftObjCMembersSpecified = Value.has_value(); in setSwiftObjCMembers() 377 SwiftImportAsAccessorsSpecified = Value.has_value(); in setSwiftImportAsAccessors() 443 NoEscapeSpecified = Value.has_value(); in setNoEscape() 700 HasFlagEnum = Value.has_value(); in setFlagEnum() 709 SwiftCopyableSpecified = Value.has_value(); in setSwiftCopyable()
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | SelectHelper.cpp | 141 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()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | VectorBuilder.cpp | 81 NumInstParams + MaskPosOpt.has_value() + VLenPosOpt.has_value(); in createVectorInstructionImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Sarif.cpp | 239 if (Location.Index.has_value()) in createPhysicalLocation() 301 if (A.Location.Index.has_value()) { in endRun() 306 if (A.Length.has_value()) in endRun() 312 if (A.Offset.has_value()) in endRun()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FixupInstTuning.cpp | 74 if (NewVal.has_value() && CurVal.has_value() && *NewVal != *CurVal) in CmpOptionals() 112 if (Res.has_value()) in processInstruction() 116 if (Res.has_value()) in processInstruction() 121 if (Res.has_value()) in processInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | DXContainerEmitter.cpp | 177 if (!P.Flags.has_value()) in writeParts() 186 if (!P.Hash.has_value()) in writeParts() 198 if (!P.Info.has_value()) in writeParts() 252 if (P.Signature.has_value()) { in writeParts()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ObjCARCUtil.h | 38 .has_value(); in hasAttachedCallOpBundle()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | RichManglingContext.h | 89 assert(parser.has_value()); in get()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | ThreadDecoder.cpp | 41 if (!m_decoded_thread.has_value()) { in Decode()
|