зеркало из https://github.com/microsoft/clang-1.git
5f684e90c2
The problem is that a partial match of an (explicit or implicit) allOf matcher binds results, i.e. recordDecl(decl().bind("x"), hasName("A")) can very well bind a record that is not named "A". With this fix, the common cases of stumbling over this bug are fixed by the BoundNodesMap overwriting the results of a partial match. An error can still be created with a weird combination of anyOf and allOf (see inactive test). We need to decide whether this is worth fixing, as the fix will have performance impact. Review: http://llvm-reviews.chandlerc.com/D124 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168177 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
AST | ||
ASTMatchers | ||
Basic | ||
Frontend | ||
Lex | ||
Tooling | ||
CMakeLists.txt | ||
Makefile |