Skip to content

Commit

Permalink
Quiet some -Wdocumentation warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
d0k committed May 6, 2020
1 parent e1022cb commit d5ea89f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions clang/include/clang/AST/PrettyPrinter.h
Expand Up @@ -184,8 +184,8 @@ struct PrintingPolicy {
/// with zero parameters.
unsigned UseVoidForZeroParams : 1;

/// Whether nested templates must be closed like 'a<b<c> >' rather than
/// 'a<b<c>>'.
/// Whether nested templates must be closed like 'a\<b\<c\> \>' rather than
/// 'a\<b\<c\>\>'.
unsigned SplitTemplateClosers : 1;

/// Provide a 'terse' output.
Expand Down
8 changes: 4 additions & 4 deletions llvm/include/llvm/Support/DataExtractor.h
Expand Up @@ -105,7 +105,7 @@ class DataExtractor {
/// 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
Expand Down Expand Up @@ -140,7 +140,7 @@ class DataExtractor {
/// 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
Expand Down Expand Up @@ -461,7 +461,7 @@ class DataExtractor {
/// \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,
Expand Down Expand Up @@ -593,7 +593,7 @@ class DataExtractor {
/// 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
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit d5ea89f

Please sign in to comment.