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

References

tools/clang/unittests/AST/DataCollectionTest.cpp
  107   ASSERT_TRUE(isStmtHashEqual(declRefExpr().bind("id"), "int x, r = x;",
  109   ASSERT_FALSE(isStmtHashEqual(declRefExpr().bind("id"), "int x, r = x;",
  111   ASSERT_FALSE(isStmtHashEqual(declRefExpr().bind("id"), "int x, r = x;",
  116   ASSERT_TRUE(isStmtHashEqual(memberExpr().bind("id"),
  119   ASSERT_TRUE(isStmtHashEqual(memberExpr().bind("id"),
  122   ASSERT_TRUE(isStmtHashEqual(memberExpr().bind("id"),
  125   ASSERT_FALSE(isStmtHashEqual(memberExpr().bind("id"),
  132       isStmtHashEqual(integerLiteral().bind("id"), "int x = 0;", "int x = 0;"));
  134       isStmtHashEqual(integerLiteral().bind("id"), "int x = 0;", "int x =00;"));
  136       isStmtHashEqual(integerLiteral().bind("id"), "int x = 0;", "int x = 1;"));
  140   ASSERT_TRUE(isStmtHashEqual(floatLiteral().bind("id"), "double x = .0;",
  142   ASSERT_TRUE(isStmtHashEqual(floatLiteral().bind("id"), "double x = .10;",
  144   ASSERT_TRUE(isStmtHashEqual(floatLiteral().bind("id"), "double x = .1;",
  146   ASSERT_FALSE(isStmtHashEqual(floatLiteral().bind("id"), "double x = .0;",
  151   ASSERT_TRUE(isStmtHashEqual(stringLiteral().bind("id"), R"(char x[] = "0";)",
  153   ASSERT_FALSE(isStmtHashEqual(stringLiteral().bind("id"), R"(char x[] = "0";)",
  158   ASSERT_TRUE(isStmtHashEqual(cxxBoolLiteral().bind("id"), "bool x = false;",
  160   ASSERT_FALSE(isStmtHashEqual(cxxBoolLiteral().bind("id"), "bool x = false;",
  165   ASSERT_TRUE(isStmtHashEqual(characterLiteral().bind("id"), "char x = '0';",
  167   ASSERT_TRUE(isStmtHashEqual(characterLiteral().bind("id"),
  170   ASSERT_FALSE(isStmtHashEqual(characterLiteral().bind("id"), "char x = '0';",