Skip to content

Commit

Permalink
Correct doxygen for matcher macros that require a body. NFC.
Browse files Browse the repository at this point in the history
http://reviews.llvm.org/D8146

Patch by Richard Thomson!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231670 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
alexfh committed Mar 9, 2015
1 parent 19c538b commit 491d169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/clang/ASTMatchers/ASTMatchersMacros.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand All @@ -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.
///
Expand Down

0 comments on commit 491d169

Please sign in to comment.