From f41d23076e4e3046e08fb887f161975af9a1a4be Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 12 Oct 2017 09:42:14 +0000 Subject: [PATCH] Fix warnings. [-Wdocumentation] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315573 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ProfileData/SampleProfReader.cpp | 4 ---- lib/ProfileData/SampleProfWriter.cpp | 4 ---- lib/Support/MD5.cpp | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/ProfileData/SampleProfReader.cpp b/lib/ProfileData/SampleProfReader.cpp index 234fe02ac8a..1028c35e8c2 100644 --- a/lib/ProfileData/SampleProfReader.cpp +++ b/lib/ProfileData/SampleProfReader.cpp @@ -759,8 +759,6 @@ setupMemoryBuffer(const Twine &Filename) { /// /// \param Filename The file to open. /// -/// \param Reader The reader to instantiate according to \p Filename's format. -/// /// \param C The LLVM context to use to emit diagnostics. /// /// \returns an error code indicating the status of the created reader. @@ -776,8 +774,6 @@ SampleProfileReader::create(const Twine &Filename, LLVMContext &C) { /// /// \param B The memory buffer to create the reader from (assumes ownership). /// -/// \param Reader The reader to instantiate according to \p Filename's format. -/// /// \param C The LLVM context to use to emit diagnostics. /// /// \returns an error code indicating the status of the created reader. diff --git a/lib/ProfileData/SampleProfWriter.cpp b/lib/ProfileData/SampleProfWriter.cpp index b9d357ab15e..59c4885fcdb 100644 --- a/lib/ProfileData/SampleProfWriter.cpp +++ b/lib/ProfileData/SampleProfWriter.cpp @@ -251,8 +251,6 @@ std::error_code SampleProfileWriterBinary::write(const FunctionSamples &S) { /// /// \param Filename The file to create. /// -/// \param Writer The writer to instantiate according to the specified format. -/// /// \param Format Encoding format for the profile file. /// /// \returns an error code indicating the status of the created writer. @@ -274,8 +272,6 @@ SampleProfileWriter::create(StringRef Filename, SampleProfileFormat Format) { /// /// \param OS The output stream to store the profile data to. /// -/// \param Writer The writer to instantiate according to the specified format. -/// /// \param Format Encoding format for the profile file. /// /// \returns an error code indicating the status of the created writer. diff --git a/lib/Support/MD5.cpp b/lib/Support/MD5.cpp index 545a64cfc76..a5317227923 100644 --- a/lib/Support/MD5.cpp +++ b/lib/Support/MD5.cpp @@ -230,7 +230,7 @@ void MD5::update(StringRef Str) { } /// \brief Finish the hash and place the resulting hash into \p result. -/// \param result is assumed to be a minimum of 16-bytes in size. +/// \param Result is assumed to be a minimum of 16-bytes in size. void MD5::final(MD5Result &Result) { unsigned long used, free; -- 2.49.0