reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Support/VersionTuple.h
  146   bool tryParse(StringRef string);

References

lib/TextAPI/ELF/TBEHandler.cpp
   80     if (Value.tryParse(Scalar))
tools/clang/lib/Basic/ObjCRuntime.cpp
   89     if (Version.tryParse(verString))
tools/clang/lib/Driver/DarwinSDKInfo.cpp
   37       if (!Version.tryParse(*VersionString))
tools/clang/lib/Driver/ToolChain.cpp
  987     if (MSVT.tryParse(MSCompatibilityVersion->getValue())) {
tools/clang/lib/Driver/ToolChains/Clang.cpp
 4803     bool Invalid = GNUCVer.tryParse(Val);
tools/clang/lib/Driver/ToolChains/Darwin.cpp
 1383     bool IsValid = !Version.tryParse(OSVersion);
tools/clang/lib/Frontend/CompilerInvocation.cpp
 2595     bool Invalid = GNUCVer.tryParse(A->getValue());
 2681     if (VT.tryParse(A->getValue()))
 3418     if (Version.tryParse(A->getValue()))
tools/lldb/source/Host/linux/HostInfoLinux.cpp
   53     g_fields->m_os_version.tryParse(release);
tools/lldb/source/Interpreter/OptionGroupPlatform.cpp
  102     if (m_os_version.tryParse(option_arg))
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
 1381     if (version.tryParse(version_part))
 1493   if (!version.tryParse(version_str) ||
 1597       if (!result.tryParse(env.lookup("SIMULATOR_RUNTIME_VERSION")))
 1607           if (!result.tryParse(product_version))
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
 1207             if (!m_os_version.tryParse(value))
 1210             if (!m_maccatalyst_version.tryParse(value))
tools/llvm-ifs/llvm-ifs.cpp
  110     if (Value.tryParse(Scalar))
unittests/Support/VersionTupleTest.cpp
   25   EXPECT_FALSE(VT.tryParse("1"));
   28   EXPECT_FALSE(VT.tryParse("1.2"));
   31   EXPECT_FALSE(VT.tryParse("1.2.3"));
   34   EXPECT_FALSE(VT.tryParse("1.2.3.4"));
   37   EXPECT_TRUE(VT.tryParse(""));
   38   EXPECT_TRUE(VT.tryParse("1."));
   39   EXPECT_TRUE(VT.tryParse("1.2."));
   40   EXPECT_TRUE(VT.tryParse("1.2.3."));
   41   EXPECT_TRUE(VT.tryParse("1.2.3.4."));
   42   EXPECT_TRUE(VT.tryParse("1.2.3.4.5"));
   43   EXPECT_TRUE(VT.tryParse("1-2"));
   44   EXPECT_TRUE(VT.tryParse("1+2"));
   45   EXPECT_TRUE(VT.tryParse(".1"));
   46   EXPECT_TRUE(VT.tryParse(" 1"));
   47   EXPECT_TRUE(VT.tryParse("1 "));
   48   EXPECT_TRUE(VT.tryParse("."));