Skip to content

Commit

Permalink
[ASTMatcher] Fix typos in LibASTMatchersReference.html
Browse files Browse the repository at this point in the history
  • Loading branch information
danix800 committed Aug 12, 2023
1 parent bd7c6e3 commit 415d9e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clang/docs/LibASTMatchersReference.html
Original file line number Diff line number Diff line change
Expand Up @@ -2531,20 +2531,20 @@ <h2 id="decl-matchers">Node Matchers</h2>
class array {
T data[Size];
};
dependentSizedArrayType
dependentSizedArrayType()
matches "T data[Size]"
</pre></td></tr>


<tr><td>Matcher&lt;<a href="https://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('dependentSizedExtVectorType')"><a name="dependentSizedExtVectorType0Anchor">dependentSizedExtVectorType</a></td><td>Matcher&lt;<a href="https://clang.llvm.org/doxygen/classclang_1_1DependentSizedExtVectorType.html">DependentSizedExtVectorType</a>&gt;...</td></tr>
<tr><td>Matcher&lt;<a href="https://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('dependentSizedExtVectorType0')"><a name="dependentSizedExtVectorType0Anchor">dependentSizedExtVectorType</a></td><td>Matcher&lt;<a href="https://clang.llvm.org/doxygen/classclang_1_1DependentSizedExtVectorType.html">DependentSizedExtVectorType</a>&gt;...</td></tr>
<tr><td colspan="4" class="doc" id="dependentSizedExtVectorType0"><pre>Matches C++ extended vector type where either the type or size is dependent.

Given
template&lt;typename T, int Size&gt;
class vector {
typedef T __attribute__((ext_vector_type(Size))) type;
};
dependentSizedExtVectorType
dependentSizedExtVectorType()
matches "T __attribute__((ext_vector_type(Size)))"
</pre></td></tr>

Expand Down

0 comments on commit 415d9e8

Please sign in to comment.