Home
last modified time | relevance | path

Searched refs:tryParse (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DObjCRuntime.cpp48 bool ObjCRuntime::tryParse(StringRef input) { in tryParse() function in ObjCRuntime
89 if (Version.tryParse(verString)) in tryParse()
H A DDarwinSDKInfo.cpp49 if (KeyVersion.tryParse(KV.getFirst()) || ValueVersion.tryParse(*Val)) in parseJSON()
94 if (Version.tryParse(*Value)) in getVersionKey()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DVersionTuple.cpp63 bool VersionTuple::tryParse(StringRef input) { in tryParse() function in VersionTuple
H A DYAMLTraits.cpp1161 if (Val.tryParse(Scalar)) in input()
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOffloadBundler.h120 static llvm::Expected<CompressedBundleHeader> tryParse(llvm::StringRef);
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionGroupPlatform.cpp110 if (m_os_version.tryParse(option_arg)) in SetOptionValue()
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DHostInfoPosix.cpp53 g_fields->m_os_version.tryParse(release); in GetOSVersion()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DVersionTuple.h186 LLVM_ABI bool tryParse(StringRef string);
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DObjCRuntime.h485 bool tryParse(StringRef input);
/freebsd/contrib/llvm-project/llvm/lib/WindowsDriver/
H A DMSVCPaths.cpp77 if (Tuple.tryParse(CandidateName)) // tryParse() returns true on error. in getHighestNumericTupleInDirectory()
107 SDKVersion.tryParse(*WinSdkVersion); in getWindowsSDKDirViaCommandLine()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DXcodeSDK.cpp107 version.tryParse(name.slice(0, i - 1)); in ParseSDKVersion()
/freebsd/contrib/llvm-project/lld/MachO/
H A DInputFiles.cpp2081 if (start.tryParse(startVersion)) { in handleLDPreviousSymbol()
2087 if (end.tryParse(endVersion)) { in handleLDPreviousSymbol()
2101 if (cVersion.tryParse(compatVersion)) { in handleLDPreviousSymbol()
2141 if (!condition.consume_front("os") || version.tryParse(condition)) in handleLDInstallNameSymbol()
2157 if (versionTup.tryParse(minVersion)) { in handleLDHideSymbol()
H A DDriver.cpp731 if (platformVersion.minimum.tryParse(minVersionStr)) in parsePlatformVersion()
733 if (platformVersion.sdk.tryParse(sdkVersionStr)) in parsePlatformVersion()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFUnit.cpp845 m_producer_version.tryParse(matches[1]); in ParseProducerInfo()
849 m_producer_version.tryParse(matches[1]); in ParseProducerInfo()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHLSL.cpp155 if (Version.tryParse(ValVersionStr) || Version.getBuild() || in isLegalValidatorVersion()
H A DAMDGPU.cpp224 V.tryParse(VerStr); in getInstallationPathCandidates()
H A DMSVC.cpp759 if (!Tuple.tryParse(windowsSDKIncludeVersion) && in AddClangSystemIncludeArgs()
H A DDarwin.cpp1099 (void)NewLinkerVersion.tryParse(A->getValue()); in getLinkerVersion()
1107 if (NewLinkerVersion.tryParse(A->getValue())) in getLinkerVersion()
1931 bool IsValid = !Version.tryParse(Input); in getVersionFromString()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp99 static MaybeCondBranchWeights tryParse(const BranchInst &Br) { in tryParse() function in __anone8c890770111::CondBranchWeights
499 Weights = CondBranchWeights::tryParse(*Term); in buildCondition()
/freebsd/contrib/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp269 if (Version.tryParse(A->getValue())) in CreateFromArgs()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp52 if (Version.tryParse(ValVersionStr) || Version.getBuild() || in addDxilValVersion()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DOffloadBundler.cpp1182 CompressedOffloadBundle::CompressedBundleHeader::tryParse(StringRef Blob) { in tryParse() function in CompressedOffloadBundle::CompressedBundleHeader
1250 CompressedBundleHeader::tryParse(Blob); in decompress()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp3570 if (Opts.SwiftVersion.tryParse(A->getValue())) in ParseAPINotesArgs()
4215 if (Opts.ObjCRuntime.tryParse(value)) in ParseLangArgs()
4263 bool Invalid = GNUCVer.tryParse(A->getValue()); in ParseLangArgs()
4291 if (VT.tryParse(A->getValue())) in ParseLangArgs()
5086 if (Version.tryParse(A->getValue())) in ParseTargetArgs()
5095 if (Version.tryParse(A->getValue())) in ParseTargetArgs()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubV5.cpp320 if (VersionStr && Version.tryParse(*VersionStr)) in getTargetsSection()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.cpp1319 if (!m_os_version.tryParse(value)) in GetHostInfo()
1322 if (!m_maccatalyst_version.tryParse(value)) in GetHostInfo()

12