From 82a36b9fcce7f0f54b853094649f5bdaa95c9929 Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Fri, 29 Jul 2016 17:30:13 +0000 Subject: [PATCH] Fix a typo in document. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@277174 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LibASTMatchersReference.html | 12 ++++++------ include/clang/ASTMatchers/ASTMatchers.h | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/LibASTMatchersReference.html b/docs/LibASTMatchersReference.html index cb6a05e3e9..35534cb8c8 100644 --- a/docs/LibASTMatchersReference.html +++ b/docs/LibASTMatchersReference.html @@ -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")))) 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 {}; /// A a; /// -/// template f() {}; +/// template f() {}; /// void func() { f(); }; /// \endcode /// @@ -728,7 +728,7 @@ AST_MATCHER_P(QualType, ignoringParens, /// A b; /// A c; /// -/// template f() {}; +/// template f() {}; /// void func() { f(); }; /// \endcode /// classTemplateSpecializationDecl(hasTemplateArgument( -- 2.40.0