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

References

tools/lldb/unittests/Utility/FileSpecTest.cpp
  275   EXPECT_EQ("(empty)", llvm::formatv("{0}", F).str());
  276   EXPECT_EQ("(empty)", llvm::formatv("{0:D}", F).str());
  277   EXPECT_EQ("(empty)", llvm::formatv("{0:F}", F).str());
  279   F = FileSpec("C:\\foo\\bar.txt", win);
  280   EXPECT_EQ("C:\\foo\\bar.txt", llvm::formatv("{0}", F).str());
  281   EXPECT_EQ("C:\\foo\\", llvm::formatv("{0:D}", F).str());
  282   EXPECT_EQ("bar.txt", llvm::formatv("{0:F}", F).str());
  284   F = FileSpec("foo\\bar.txt", win);
  285   EXPECT_EQ("foo\\bar.txt", llvm::formatv("{0}", F).str());
  286   EXPECT_EQ("foo\\", llvm::formatv("{0:D}", F).str());
  287   EXPECT_EQ("bar.txt", llvm::formatv("{0:F}", F).str());
  289   F = FileSpec("foo", win);
  290   EXPECT_EQ("foo", llvm::formatv("{0}", F).str());
  291   EXPECT_EQ("foo", llvm::formatv("{0:F}", F).str());
  292   EXPECT_EQ("(empty)", llvm::formatv("{0:D}", F).str());