summaryrefslogtreecommitdiffstats
path: root/clang/docs
diff options
context:
space:
mode:
authorPiotr Padlewski <piotr.padlewski@gmail.com>2016-05-31 15:25:05 +0000
committerPiotr Padlewski <piotr.padlewski@gmail.com>2016-05-31 15:25:05 +0000
commitcfed2bf5881597a05a1abab446b96bb8d3adb33a (patch)
treee0cf0df097e6611ceacc17427acb8d858a74ed2a /clang/docs
parent516f18e515178451bb97c3afdd506d8a5f11fd47 (diff)
downloadbcm5719-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.rst12
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>))``.
...
OpenPOWER on IntegriCloud