summaryrefslogtreecommitdiffstats
path: root/include/clang/ASTMatchers
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
commit82a36b9fcce7f0f54b853094649f5bdaa95c9929 (patch)
tree2d338a39be0af14d89b7ab242c1eb93064ce6200 /include/clang/ASTMatchers
parent8cbdbbd822c9f1763389b40d962bd2f892f6a5a4 (diff)
Fix a typo in document.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@277174 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/ASTMatchers')
-rw-r--r--include/clang/ASTMatchers/ASTMatchers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/ASTMatchers/ASTMatchers.h b/include/clang/ASTMatchers/ASTMatchers.h
index 4e7e721c91..eee713c49b 100644
--- a/include/clang/ASTMatchers/ASTMatchers.h
+++ b/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(