From d5ea89f8914fcf7e5f637202c6972cb14617d93d Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 6 May 2020 11:22:31 +0200 Subject: [PATCH] Quiet some -Wdocumentation warnings. --- clang/include/clang/AST/PrettyPrinter.h | 4 ++-- llvm/include/llvm/Support/DataExtractor.h | 8 ++++---- llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/clang/include/clang/AST/PrettyPrinter.h b/clang/include/clang/AST/PrettyPrinter.h index 65c7e23..616647f 100644 --- a/clang/include/clang/AST/PrettyPrinter.h +++ b/clang/include/clang/AST/PrettyPrinter.h @@ -184,8 +184,8 @@ struct PrintingPolicy { /// with zero parameters. unsigned UseVoidForZeroParams : 1; - /// Whether nested templates must be closed like 'a >' rather than - /// 'a>'. + /// Whether nested templates must be closed like 'a\ \>' rather than + /// 'a\\>'. unsigned SplitTemplateClosers : 1; /// Provide a 'terse' output. diff --git a/llvm/include/llvm/Support/DataExtractor.h b/llvm/include/llvm/Support/DataExtractor.h index 9a23d8a..eb0edd1 100644 --- a/llvm/include/llvm/Support/DataExtractor.h +++ b/llvm/include/llvm/Support/DataExtractor.h @@ -105,7 +105,7 @@ public: /// updated with the offset of the byte that follows the NULL /// terminator byte. /// - /// @param[in,out] offset_ptr + /// @param[in,out] OffsetPtr /// A pointer to an offset within the data that will be advanced /// by the appropriate number of bytes if the value is extracted /// correctly. If the offset is out of bounds or there are not @@ -140,7 +140,7 @@ public: /// updated with the offset of the byte that follows the NULL /// terminator byte. /// - /// \param[in,out] offset_ptr + /// \param[in,out] OffsetPtr /// A pointer to an offset within the data that will be advanced /// by the appropriate number of bytes if the value is extracted /// correctly. If the offset is out of bounds or there are not @@ -461,7 +461,7 @@ public: /// \a offset_ptr, construct a uint32_t from them and update the offset /// on success. /// - /// @param[in,out] offset_ptr + /// @param[in,out] OffsetPtr /// A pointer to an offset within the data that will be advanced /// by the 3 bytes if the value is extracted correctly. If the offset /// is out of bounds or there are not enough bytes to extract this value, @@ -593,7 +593,7 @@ public: /// pointed to by \a offset_ptr will be updated with the offset of /// the byte following the last extracted byte. /// - /// @param[in,out] offset_ptr + /// @param[in,out] OffsetPtr /// A pointer to an offset within the data that will be advanced /// by the appropriate number of bytes if the value is extracted /// correctly. If the offset is out of bounds or there are not diff --git a/llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp b/llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp index de33357..ea2c3bb 100644 --- a/llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp +++ b/llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp @@ -236,7 +236,7 @@ struct Prefetch { /// The (first seen) prefetched instruction. Instruction *MemI; - /// Constructor to create a new Prefetch for \param I. + /// Constructor to create a new Prefetch for \p I. Prefetch(const SCEVAddRecExpr *L, Instruction *I) : LSCEVAddRec(L), InsertPt(nullptr), Writes(false), MemI(nullptr) { addInstruction(I); -- 2.7.4