aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2017-10-12 09:42:14 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2017-10-12 09:42:14 +0000
commitf41d23076e4e3046e08fb887f161975af9a1a4be (patch)
tree43b7f385fe0cbc82eae5fb13e914024bc85e2346
parentb5e990c4ac8efef0ee97ec6e380086cd6d4c0846 (diff)
Fix warnings. [-Wdocumentation]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315573 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/ProfileData/SampleProfReader.cpp4
-rw-r--r--lib/ProfileData/SampleProfWriter.cpp4
-rw-r--r--lib/Support/MD5.cpp2
3 files changed, 1 insertions, 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;