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

References

unittests/Support/FileCheckTest.cpp
  149   ASSERT_TRUE(bool(ParsedVarResult));
  150   EXPECT_EQ(ParsedVarResult->Name, OrigVarName);
  152   EXPECT_FALSE(ParsedVarResult->IsPseudo);
  155   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  156   ASSERT_TRUE(bool(ParsedVarResult));
  157   EXPECT_EQ(ParsedVarResult->Name, OrigVarName);
  159   EXPECT_FALSE(ParsedVarResult->IsPseudo);
  162   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  163   ASSERT_TRUE(bool(ParsedVarResult));
  164   EXPECT_EQ(ParsedVarResult->Name, OrigVarName);
  166   EXPECT_TRUE(ParsedVarResult->IsPseudo);
  169   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  170   EXPECT_TRUE(errorToBool(ParsedVarResult.takeError()));
  173   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  174   EXPECT_TRUE(errorToBool(ParsedVarResult.takeError()));
  177   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  178   ASSERT_TRUE(bool(ParsedVarResult));
  180   EXPECT_EQ(ParsedVarResult->Name, "B");
  181   EXPECT_FALSE(ParsedVarResult->IsPseudo);
  184   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  185   ASSERT_TRUE(bool(ParsedVarResult));
  187   EXPECT_EQ(ParsedVarResult->Name, "B");
  188   EXPECT_FALSE(ParsedVarResult->IsPseudo);
  191   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  192   ASSERT_TRUE(bool(ParsedVarResult));
  194   EXPECT_EQ(ParsedVarResult->Name, "BadVar");
  195   EXPECT_FALSE(ParsedVarResult->IsPseudo);
  198   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  199   ASSERT_TRUE(bool(ParsedVarResult));
  201   EXPECT_EQ(ParsedVarResult->Name, "BadVar");
  202   EXPECT_FALSE(ParsedVarResult->IsPseudo);
  205   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  206   ASSERT_TRUE(bool(ParsedVarResult));
  208   EXPECT_EQ(ParsedVarResult->Name, "BadVar");
  209   EXPECT_FALSE(ParsedVarResult->IsPseudo);