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

References

tools/clang/unittests/Lex/DependencyDirectivesSourceMinimizerTest.cpp
  697   EXPECT_EQ(Ranges[0].Length, (int)Out.find("#endif"));
  717   EXPECT_EQ(Ranges[0].Offset, (int)Out.find("#if FOO"));
  718   EXPECT_EQ(Ranges[0].Offset + Ranges[0].Length, (int)Out.find("#elif"));
  719   EXPECT_EQ(Ranges[1].Offset, (int)Out.find("#elif BAR"));
  720   EXPECT_EQ(Ranges[1].Offset + Ranges[1].Length, (int)Out.find("#endif"));
  722   EXPECT_EQ(Ranges[2].Length, (int)Out.find("#else"));
  723   EXPECT_EQ(Ranges[3].Offset, (int)Out.find("#else"));
unittests/ADT/SmallStringTest.cpp
  120   EXPECT_EQ(StringRef::npos, theString.find("helloworld"));
  121   EXPECT_EQ(0U, theString.find("hello"));
  122   EXPECT_EQ(1U, theString.find("ello"));
  123   EXPECT_EQ(StringRef::npos, theString.find("zz"));
  124   EXPECT_EQ(2U, theString.find("ll", 2));
  125   EXPECT_EQ(StringRef::npos, theString.find("ll", 3));
  126   EXPECT_EQ(0U, theString.find(""));
  144   EXPECT_EQ(36U, theString.find("hello"));
  145   EXPECT_EQ(28U, theString.find("foo"));
  146   EXPECT_EQ(12U, theString.find("hell", 2));
  147   EXPECT_EQ(0U, theString.find(""));