diff --git a/clang/include/clang/AST/DeclOpenMP.h b/clang/include/clang/AST/DeclOpenMP.h --- a/clang/include/clang/AST/DeclOpenMP.h +++ b/clang/include/clang/AST/DeclOpenMP.h @@ -158,16 +158,18 @@ static bool classofKind(Kind K) { return K == OMPThreadPrivate; } }; -/// This represents '#pragma omp declare reduction ...' directive. -/// For example, in the following, declared reduction 'foo' for types 'int' and -/// 'float': -/// -/// \code -/// #pragma omp declare reduction (foo : int,float : omp_out += omp_in) \ -/// initializer (omp_priv = 0) -/// \endcode -/// -/// Here 'omp_out += omp_in' is a combiner and 'omp_priv = 0' is an initializer. +/** + * This represents '#pragma omp declare reduction ...' directive. + * For example, in the following, declared reduction 'foo' for types 'int' and + * 'float': + * + * \code + * #pragma omp declare reduction (foo : int,float : omp_out += omp_in) \ + * initializer (omp_priv = 0) + * \endcode + * + * Here 'omp_out += omp_in' is a combiner and 'omp_priv = 0' is an initializer. + */ class OMPDeclareReductionDecl final : public ValueDecl, public DeclContext { // This class stores some data in DeclContext::OMPDeclareReductionDeclBits // to save some space. Use the provided accessors to access it.