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

References

tools/clang/unittests/Lex/DependencyDirectivesSourceMinimizerTest.cpp
  713   ASSERT_FALSE(minimizeSourceToDependencyDirectives(Source, Out, Toks));
  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"));
  724   EXPECT_EQ(Ranges[3].Offset + Ranges[3].Length, (int)Out.rfind("#endif"));