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

References

unittests/Support/FileCheckTest.cpp
  148       FileCheckPattern::parseVariable(VarName, SM);
  151   EXPECT_TRUE(VarName.empty());
  154   VarName = OrigVarName = bufferize(SM, "$GoodGlobalVar");
  155   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  158   EXPECT_TRUE(VarName.empty());
  161   VarName = OrigVarName = bufferize(SM, "@GoodPseudoVar");
  162   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  165   EXPECT_TRUE(VarName.empty());
  168   VarName = bufferize(SM, "42BadVar");
  169   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  172   VarName = bufferize(SM, "$@");
  173   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  176   VarName = OrigVarName = bufferize(SM, "B@dVar");
  177   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  179   EXPECT_EQ(VarName, OrigVarName.substr(1));
  183   VarName = OrigVarName = bufferize(SM, "B$dVar");
  184   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  186   EXPECT_EQ(VarName, OrigVarName.substr(1));
  190   VarName = bufferize(SM, "BadVar+");
  191   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  193   EXPECT_EQ(VarName, "+");
  197   VarName = bufferize(SM, "BadVar-");
  198   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  200   EXPECT_EQ(VarName, "-");
  204   VarName = bufferize(SM, "BadVar:");
  205   ParsedVarResult = FileCheckPattern::parseVariable(VarName, SM);
  207   EXPECT_EQ(VarName, ":");