diff options
author | Clement Courbet <courbet@google.com> | 2018-11-22 14:26:33 +0000 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2018-11-22 14:26:33 +0000 |
commit | 0718def197e34c47a44c48592e9ea7b5d210b239 (patch) | |
tree | 4ddbb15b2f683458d52e0b42928768be5e3aabe3 /docs/LibASTMatchersReference.html | |
parent | ea98fe0936a1b9046fcd47a6ad37a7e757acea0d (diff) |
Revert rL347462 "[ASTMatchers] Add hasSideEffect() matcher."
Breaks some buildbots.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@347463 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LibASTMatchersReference.html')
-rw-r--r-- | docs/LibASTMatchersReference.html | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/docs/LibASTMatchersReference.html b/docs/LibASTMatchersReference.html index ce651c282e..b547f7ece6 100644 --- a/docs/LibASTMatchersReference.html +++ b/docs/LibASTMatchersReference.html @@ -2817,24 +2817,6 @@ enum class Y {}; </pre></td></tr> -<tr><td>Matcher<<a href="https://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>></td><td class="name" onclick="toggle('hasSideEffects0')"><a name="hasSideEffects0Anchor">hasSideEffects</a></td><td></td></tr> -<tr><td colspan="4" class="doc" id="hasSideEffects0"><pre>Matches expressions with potential side effects other than producing -a value, such as a calling a function, throwing an exception, or reading a -volatile variable. - -Given - void f(int& a, int b, volatile int c) { - call(); - a = 0; - a; - b; - c; - } -expr(hasSideEffects()) - matches 'call()', 'a = 0', 'c', but not '0', 'a', 'b'. -</pre></td></tr> - - <tr><td>Matcher<<a href="https://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>></td><td class="name" onclick="toggle('isInstantiationDependent0')"><a name="isInstantiationDependent0Anchor">isInstantiationDependent</a></td><td></td></tr> <tr><td colspan="4" class="doc" id="isInstantiationDependent0"><pre>Matches expressions that are instantiation-dependent even if it is neither type- nor value-dependent. |