diff options
author | Haojian Wu <hokein@google.com> | 2016-07-29 17:30:13 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2016-07-29 17:30:13 +0000 |
commit | 99e39a7af88dcb3b3bc21373f0739b475257e5a6 (patch) | |
tree | 39ef05d66a63ef645c15235f25e19f79e89d360b /clang | |
parent | 6db3cfe2da6bc0236509c2b6a18e23c15fc498ff (diff) | |
download | bcm5719-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.html | 12 | ||||
-rw-r--r-- | clang/include/clang/ASTMatchers/ASTMatchers.h | 4 |
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<> 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/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( |