summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2016-07-29 17:30:13 +0000
committerHaojian Wu <hokein@google.com>2016-07-29 17:30:13 +0000
commit99e39a7af88dcb3b3bc21373f0739b475257e5a6 (patch)
tree39ef05d66a63ef645c15235f25e19f79e89d360b /clang
parent6db3cfe2da6bc0236509c2b6a18e23c15fc498ff (diff)
downloadbcm5719-llvm-99e39a7af88dcb3b3bc21373f0739b475257e5a6.tar.gz
bcm5719-llvm-99e39a7af88dcb3b3bc21373f0739b475257e5a6.zip
Fix a typo in document.
llvm-svn: 277174
Diffstat (limited to 'clang')
-rw-r--r--clang/docs/LibASTMatchersReference.html12
-rw-r--r--clang/include/clang/ASTMatchers/ASTMatchers.h4
2 files changed, 8 insertions, 8 deletions
diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html
index cb6a05e3e91..35534cb8c84 100644
--- a/clang/docs/LibASTMatchersReference.html
+++ b/clang/docs/LibASTMatchersReference.html
@@ -4260,7 +4260,7 @@ Given
template&lt;&gt; class A&lt;double&gt; {};
A&lt;int&gt; a;
- template&lt;typenmae T&gt; f() {};
+ template&lt;typename T&gt; f() {};
void func() { f&lt;int&gt;(); };
classTemplateSpecializationDecl(hasAnyTemplateArgument(
@@ -4281,7 +4281,7 @@ Given
A&lt;bool, int&gt; b;
A&lt;int, bool&gt; c;
- template&lt;typenmae T&gt; f() {};
+ template&lt;typename T&gt; f() {};
void func() { f&lt;int&gt;(); };
classTemplateSpecializationDecl(hasTemplateArgument(
1, refersToType(asString("int"))))
@@ -4714,7 +4714,7 @@ Given
template&lt;&gt; class A&lt;double&gt; {};
A&lt;int&gt; a;
- template&lt;typenmae T&gt; f() {};
+ template&lt;typename T&gt; f() {};
void func() { f&lt;int&gt;(); };
classTemplateSpecializationDecl(hasAnyTemplateArgument(
@@ -4760,7 +4760,7 @@ Given
A&lt;bool, int&gt; b;
A&lt;int, bool&gt; c;
- template&lt;typenmae T&gt; f() {};
+ template&lt;typename T&gt; f() {};
void func() { f&lt;int&gt;(); };
classTemplateSpecializationDecl(hasTemplateArgument(
1, refersToType(asString("int"))))
@@ -5400,7 +5400,7 @@ Given
template&lt;&gt; class A&lt;double&gt; {};
A&lt;int&gt; a;
- template&lt;typenmae T&gt; f() {};
+ template&lt;typename T&gt; f() {};
void func() { f&lt;int&gt;(); };
classTemplateSpecializationDecl(hasAnyTemplateArgument(
@@ -5443,7 +5443,7 @@ Given
A&lt;bool, int&gt; b;
A&lt;int, bool&gt; c;
- template&lt;typenmae T&gt; f() {};
+ template&lt;typename T&gt; f() {};
void func() { f&lt;int&gt;(); };
classTemplateSpecializationDecl(hasTemplateArgument(
1, refersToType(asString("int"))))
diff --git a/clang/include/clang/ASTMatchers/ASTMatchers.h b/clang/include/clang/ASTMatchers/ASTMatchers.h
index 4e7e721c91a..eee713c49b8 100644
--- a/clang/include/clang/ASTMatchers/ASTMatchers.h
+++ b/clang/include/clang/ASTMatchers/ASTMatchers.h
@@ -577,7 +577,7 @@ AST_MATCHER(Decl, isImplicit) {
/// template<> class A<double> {};
/// A<int> a;
///
-/// template<typenmae T> f() {};
+/// template<typename T> f() {};
/// void func() { f<int>(); };
/// \endcode
///
@@ -728,7 +728,7 @@ AST_MATCHER_P(QualType, ignoringParens,
/// A<bool, int> b;
/// A<int, bool> c;
///
-/// template<typenmae T> f() {};
+/// template<typename T> f() {};
/// void func() { f<int>(); };
/// \endcode
/// classTemplateSpecializationDecl(hasTemplateArgument(
OpenPOWER on IntegriCloud