]> granicus.if.org Git - llvm/commitdiff
Fix warnings. [-Wdocumentation]
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 12 Oct 2017 09:42:14 +0000 (09:42 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 12 Oct 2017 09:42:14 +0000 (09:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315573 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ProfileData/SampleProfReader.cpp
lib/ProfileData/SampleProfWriter.cpp
lib/Support/MD5.cpp

index 234fe02ac8a8789e27babd1aed67c301fc596749..1028c35e8c2da2163b0816b9ccec247d0d228bb3 100644 (file)
@@ -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.
index b9d357ab15ef116bca84974c2c86c74d4113f8dc..59c4885fcdbe41d68da1b4fe01ec84c7487d0bff 100644 (file)
@@ -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.
index 545a64cfc7679fbf300a701a0c9b9b1b3ee7be15..a53172279236230f3af66d24b9d422f8176c2121 100644 (file)
@@ -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;