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

References

unittests/ADT/StringSwitchTest.cpp
  166   EXPECT_EQ(OSType::Windows, Translate(llvm::StringRef("wind\0ws", 7)));
  167   EXPECT_EQ(OSType::Windows, Translate("win32"));
  168   EXPECT_EQ(OSType::Windows, Translate("winnt"));
  170   EXPECT_EQ(OSType::Linux, Translate("linux"));
  171   EXPECT_EQ(OSType::Linux, Translate("unix"));
  172   EXPECT_EQ(OSType::Linux, Translate("*nix"));
  173   EXPECT_EQ(OSType::Linux, Translate("posix"));
  177   EXPECT_EQ(OSType::Unknown, Translate("wind"));
  178   EXPECT_EQ(OSType::Unknown, Translate("Windows"));
  179   EXPECT_EQ(OSType::Unknown, Translate(""));