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 | cfed2bf5881597a05a1abab446b96bb8d3adb33a (patch) | |
| tree | e0cf0df097e6611ceacc17427acb8d858a74ed2a /clang/docs | |
| parent | 516f18e515178451bb97c3afdd506d8a5f11fd47 (diff) | |
| download | bcm5719-llvm-cfed2bf5881597a05a1abab446b96bb8d3adb33a.tar.gz bcm5719-llvm-cfed2bf5881597a05a1abab446b96bb8d3adb33a.zip | |
[ASTMatchers] Breaking change of `has` matcher
has matcher can now match to implicit and paren casts
http://reviews.llvm.org/D20801
llvm-svn: 271288
Diffstat (limited to 'clang/docs')
| -rw-r--r-- | clang/docs/ReleaseNotes.rst | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index dcd39e23c94..bcf67ec4944 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/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>))``. ... |

