Correct doxygen for matcher macros that require a body. NFC.
authorAlexander Kornienko <alexfh@google.com>
Mon, 9 Mar 2015 16:57:49 +0000 (16:57 +0000)
committerAlexander Kornienko <alexfh@google.com>
Mon, 9 Mar 2015 16:57:49 +0000 (16:57 +0000)
http://reviews.llvm.org/D8146

Patch by Richard Thomson!

llvm-svn: 231670

clang/include/clang/ASTMatchers/ASTMatchersMacros.h

index b25447f..e8eab86 100644 (file)
@@ -37,7 +37,7 @@
 #ifndef LLVM_CLANG_ASTMATCHERS_ASTMATCHERSMACROS_H
 #define LLVM_CLANG_ASTMATCHERS_ASTMATCHERSMACROS_H
 
-/// \brief AST_MATCHER_FUNCTION(ReturnType, DefineMatcher) {
+/// \brief AST_MATCHER_FUNCTION(ReturnType, DefineMatcher) { ... }
 /// defines a zero parameter function named DefineMatcher() that returns a
 /// ReturnType object.
 #define AST_MATCHER_FUNCTION(ReturnType, DefineMatcher)                        \
@@ -48,7 +48,7 @@
   }                                                                            \
   inline ReturnType DefineMatcher##_getInstance()
 
-/// \brief AST_MATCHER_FUNCTION_P(ReturnType, DefineMatcher, ParamType, Param) {
+/// \brief AST_MATCHER_FUNCTION_P(ReturnType, DefineMatcher, ParamType, Param) { ... }
 /// defines a single-parameter function named DefineMatcher() that returns a
 /// ReturnType object.
 ///