summaryrefslogtreecommitdiff
path: root/clang/include/clang/ASTMatchers/ASTMatchers.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/include/clang/ASTMatchers/ASTMatchers.h')
-rw-r--r--clang/include/clang/ASTMatchers/ASTMatchers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/ASTMatchers/ASTMatchers.h b/clang/include/clang/ASTMatchers/ASTMatchers.h
index 859725e4fc1..eb07ff70a97 100644
--- a/clang/include/clang/ASTMatchers/ASTMatchers.h
+++ b/clang/include/clang/ASTMatchers/ASTMatchers.h
@@ -645,8 +645,8 @@ AST_MATCHER(FunctionDecl, isMain) {
///
/// Given
/// \code
-/// template<typename T> class A {}; #1
-/// template<> class A<int> {}; #2
+/// template<typename T> class A {}; #1
+/// template<> class A<int> {}; #2
/// \endcode
/// classTemplateSpecializationDecl(hasSpecializedTemplate(classTemplateDecl()))
/// matches '#2' with classTemplateDecl() matching the class template