r277174 - Fix a typo in document.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 29 10:30:13 PDT 2016
Author: hokein
Date: Fri Jul 29 12:30:13 2016
New Revision: 277174
URL: http://llvm.org/viewvc/llvm-project?rev=277174&view=rev
Log:
Fix a typo in document.
Modified:
cfe/trunk/docs/LibASTMatchersReference.html
cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h
Modified: cfe/trunk/docs/LibASTMatchersReference.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/LibASTMatchersReference.html?rev=277174&r1=277173&r2=277174&view=diff
==============================================================================
--- cfe/trunk/docs/LibASTMatchersReference.html (original)
+++ cfe/trunk/docs/LibASTMatchersReference.html Fri Jul 29 12:30:13 2016
@@ -4260,7 +4260,7 @@ Given
template<> class A<double> {};
A<int> a;
- template<typenmae T> f() {};
+ template<typename T> f() {};
void func() { f<int>(); };
classTemplateSpecializationDecl(hasAnyTemplateArgument(
@@ -4281,7 +4281,7 @@ Given
A<bool, int> b;
A<int, bool> c;
- template<typenmae T> f() {};
+ template<typename T> f() {};
void func() { f<int>(); };
classTemplateSpecializationDecl(hasTemplateArgument(
1, refersToType(asString("int"))))
@@ -4714,7 +4714,7 @@ Given
template<> class A<double> {};
A<int> a;
- template<typenmae T> f() {};
+ template<typename T> f() {};
void func() { f<int>(); };
classTemplateSpecializationDecl(hasAnyTemplateArgument(
@@ -4760,7 +4760,7 @@ Given
A<bool, int> b;
A<int, bool> c;
- template<typenmae T> f() {};
+ template<typename T> f() {};
void func() { f<int>(); };
classTemplateSpecializationDecl(hasTemplateArgument(
1, refersToType(asString("int"))))
@@ -5400,7 +5400,7 @@ Given
template<> class A<double> {};
A<int> a;
- template<typenmae T> f() {};
+ template<typename T> f() {};
void func() { f<int>(); };
classTemplateSpecializationDecl(hasAnyTemplateArgument(
@@ -5443,7 +5443,7 @@ Given
A<bool, int> b;
A<int, bool> c;
- template<typenmae T> f() {};
+ template<typename T> f() {};
void func() { f<int>(); };
classTemplateSpecializationDecl(hasTemplateArgument(
1, refersToType(asString("int"))))
Modified: cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h?rev=277174&r1=277173&r2=277174&view=diff
==============================================================================
--- cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h (original)
+++ cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h Fri Jul 29 12:30:13 2016
@@ -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(
More information about the cfe-commits
mailing list