[llvm] r315573 - Fix warnings. [-Wdocumentation]
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 12 02:42:14 PDT 2017
Author: chapuni
Date: Thu Oct 12 02:42:14 2017
New Revision: 315573
URL: http://llvm.org/viewvc/llvm-project?rev=315573&view=rev
Log:
Fix warnings. [-Wdocumentation]
Modified:
llvm/trunk/lib/ProfileData/SampleProfReader.cpp
llvm/trunk/lib/ProfileData/SampleProfWriter.cpp
llvm/trunk/lib/Support/MD5.cpp
Modified: llvm/trunk/lib/ProfileData/SampleProfReader.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ProfileData/SampleProfReader.cpp?rev=315573&r1=315572&r2=315573&view=diff
==============================================================================
--- llvm/trunk/lib/ProfileData/SampleProfReader.cpp (original)
+++ llvm/trunk/lib/ProfileData/SampleProfReader.cpp Thu Oct 12 02:42:14 2017
@@ -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
///
/// \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.
Modified: llvm/trunk/lib/ProfileData/SampleProfWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ProfileData/SampleProfWriter.cpp?rev=315573&r1=315572&r2=315573&view=diff
==============================================================================
--- llvm/trunk/lib/ProfileData/SampleProfWriter.cpp (original)
+++ llvm/trunk/lib/ProfileData/SampleProfWriter.cpp Thu Oct 12 02:42:14 2017
@@ -251,8 +251,6 @@ std::error_code SampleProfileWriterBinar
///
/// \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 Fi
///
/// \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.
Modified: llvm/trunk/lib/Support/MD5.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/MD5.cpp?rev=315573&r1=315572&r2=315573&view=diff
==============================================================================
--- llvm/trunk/lib/Support/MD5.cpp (original)
+++ llvm/trunk/lib/Support/MD5.cpp Thu Oct 12 02:42:14 2017
@@ -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;
More information about the llvm-commits
mailing list