summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/LibASTMatchersReference.html10
-rw-r--r--docs/ReleaseNotes.rst6
2 files changed, 6 insertions, 10 deletions
diff --git a/docs/LibASTMatchersReference.html b/docs/LibASTMatchersReference.html
index 58ab6d1285..aaddb5b840 100644
--- a/docs/LibASTMatchersReference.html
+++ b/docs/LibASTMatchersReference.html
@@ -3636,11 +3636,6 @@ callExpr(hasAnyArgument(declRefExpr()))
matches x(1, y, 42)
with hasAnyArgument(...)
matching y
-
-FIXME: Currently this will ignore parentheses and implicit casts on
-the argument before applying the inner matcher. We'll want to remove
-this to allow for greater control by the user once ignoreImplicit()
-has been implemented.
</pre></td></tr>
@@ -3907,11 +3902,6 @@ callExpr(hasAnyArgument(declRefExpr()))
matches x(1, y, 42)
with hasAnyArgument(...)
matching y
-
-FIXME: Currently this will ignore parentheses and implicit casts on
-the argument before applying the inner matcher. We'll want to remove
-this to allow for greater control by the user once ignoreImplicit()
-has been implemented.
</pre></td></tr>
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst
index 922c37e6f0..942e12eed1 100644
--- a/docs/ReleaseNotes.rst
+++ b/docs/ReleaseNotes.rst
@@ -120,6 +120,12 @@ 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>))``.
+
...
libclang