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

Declarations

unittests/ADT/StringSwitchTest.cpp
  183   enum class OSType { Windows, Linux, Unknown };

References

unittests/ADT/StringSwitchTest.cpp
  162         .Cases("linux", "unix", "*nix", "posix", OSType::Linux)
  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"));
  189         .CasesLower("linux", "unix", "*nix", "posix", OSType::Linux)
  197   EXPECT_EQ(OSType::Linux, Translate("LINUX"));
  198   EXPECT_EQ(OSType::Linux, Translate("UNIX"));
  199   EXPECT_EQ(OSType::Linux, Translate("*NIX"));
  200   EXPECT_EQ(OSType::Linux, Translate("POSIX"));
  203   EXPECT_EQ(OSType::Linux, Translate("linux"));