diff options
author | Piotr Padlewski <piotr.padlewski@gmail.com> | 2016-05-31 15:25:05 +0000 |
---|---|---|
committer | Piotr Padlewski <piotr.padlewski@gmail.com> | 2016-05-31 15:25:05 +0000 |
commit | 8338c0deafecd70c68d85881ac90d77e994c9b03 (patch) | |
tree | 3a4e7f2a26c88e6771bc164e59cb1acbc5a94d3a /docs | |
parent | c5c7090ba1a58db103d4a09bf1a8b27861eab59d (diff) |
[ASTMatchers] Breaking change of `has` matcher
has matcher can now match to implicit and paren casts
http://reviews.llvm.org/D20801
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271288 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ReleaseNotes.rst | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index dcd39e23c9..bcf67ec494 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -185,11 +185,13 @@ this section should help get you past the largest hurdles of upgrading. AST Matchers ------------ -- hasAnyArgument: Matcher no longer ignores parentheses and implicit casts on - the argument before applying the inner matcher. The fix was done to allow for - greater control by the user. In all existing checkers that use this matcher - all instances of code ``hasAnyArgument(<inner matcher>)`` must be changed to - ``hasAnyArgument(ignoringParenImpCasts(<inner matcher>))``. +- has and hasAnyArgument: Matchers no longer ignores parentheses and implicit + casts on the argument before applying the inner matcher. The fix was done to + allow for greater control by the user. In all existing checkers that use this + matcher all instances of code ``hasAnyArgument(<inner matcher>)`` or + ``has(<inner matcher>)`` must be changed to + ``hasAnyArgument(ignoringParenImpCasts(<inner matcher>))`` or + ``has(ignoringParenImpCasts(<inner matcher>))``. ... |