]> granicus.if.org Git - clang/commit
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)
commitfa37c5ca61af275a329386407e58cf70f4d9f596
tree37cf8b63d6d4e92a2f388501379121c471dc2613
parent21f18c4fda167dc5f72feddbd6a7ac1b63200a0d
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174605 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LibASTMatchersReference.html
include/clang/ASTMatchers/ASTMatchers.h
unittests/ASTMatchers/ASTMatchersTest.cpp