commit | fa37c5ca61af275a329386407e58cf70f4d9f596 | [log] [tgz] |
---|---|---|
author | Manuel Klimek <klimek@google.com> | Thu Feb 07 12:42:10 2013 +0000 |
committer | Manuel Klimek <klimek@google.com> | Thu Feb 07 12:42:10 2013 +0000 |
tree | 37cf8b63d6d4e92a2f388501379121c471dc2613 | |
parent | 21f18c4fda167dc5f72feddbd6a7ac1b63200a0d [diff] |
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