Implements equalsNode for Decl and Stmt.
authorManuel Klimek <klimek@google.com>
Thu, 7 Feb 2013 12:42:10 +0000 (12:42 +0000)
committerManuel Klimek <klimek@google.com>
Thu, 7 Feb 2013 12:42:10 +0000 (12:42 +0000)
commitbee085762bce7f552afa0ebc43085102f96e41a4
tree1a21b2cab625c934a2832dd378ae751414c42e0c
parent07c740e2130057967b36e1b2c150e98a663e3099
Implements equalsNode for Decl and Stmt.

This is a powerful tool when doing iterative refined matches,
where another match is started inside the match callback of the first
one; this allows for example to find out whether the node was in
the condition or body of its parent if-statement.

llvm-svn: 174605
clang/docs/LibASTMatchersReference.html
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/unittests/ASTMatchers/ASTMatchersTest.cpp