diff options
author | Adrian Prantl <aprantl@apple.com> | 2018-05-01 15:54:18 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2018-05-01 15:54:18 +0000 |
commit | 5f8f34e459b60efb332337e7cfe902a7cabe4096 (patch) | |
tree | b80a88887ea8331179e6294f1135d38a66ec28ce /llvm/lib/ProfileData/SampleProfReader.cpp | |
parent | 5727011fd552d87351c6229dc0337114a0269848 (diff) | |
download | llvm-5f8f34e459b60efb332337e7cfe902a7cabe4096.zip llvm-5f8f34e459b60efb332337e7cfe902a7cabe4096.tar.gz llvm-5f8f34e459b60efb332337e7cfe902a7cabe4096.tar.bz2 |
Remove \brief commands from doxygen comments.
We've been running doxygen with the autobrief option for a couple of
years now. This makes the \brief markers into our comments
redundant. Since they are a visual distraction and we don't want to
encourage more \brief markers in new code either, this patch removes
them all.
Patch produced by
for i in $(git grep -l '\\brief'); do perl -pi -e 's/\\brief //g' $i & done
Differential Revision: https://reviews.llvm.org/D46290
llvm-svn: 331272
Diffstat (limited to 'llvm/lib/ProfileData/SampleProfReader.cpp')
-rw-r--r-- | llvm/lib/ProfileData/SampleProfReader.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/llvm/lib/ProfileData/SampleProfReader.cpp b/llvm/lib/ProfileData/SampleProfReader.cpp index 8048076..e192b58 100644 --- a/llvm/lib/ProfileData/SampleProfReader.cpp +++ b/llvm/lib/ProfileData/SampleProfReader.cpp @@ -43,7 +43,7 @@ using namespace llvm; using namespace sampleprof; -/// \brief Dump the function profile for \p FName. +/// Dump the function profile for \p FName. /// /// \param FName Name of the function to print. /// \param OS Stream to emit the output to. @@ -52,13 +52,13 @@ void SampleProfileReader::dumpFunctionProfile(StringRef FName, OS << "Function: " << FName << ": " << Profiles[FName]; } -/// \brief Dump all the function profiles found on stream \p OS. +/// Dump all the function profiles found on stream \p OS. void SampleProfileReader::dump(raw_ostream &OS) { for (const auto &I : Profiles) dumpFunctionProfile(I.getKey(), OS); } -/// \brief Parse \p Input as function head. +/// Parse \p Input as function head. /// /// Parse one line of \p Input, and update function name in \p FName, /// function's total sample count in \p NumSamples, function's entry @@ -79,10 +79,10 @@ static bool ParseHead(const StringRef &Input, StringRef &FName, return true; } -/// \brief Returns true if line offset \p L is legal (only has 16 bits). +/// Returns true if line offset \p L is legal (only has 16 bits). static bool isOffsetLegal(unsigned L) { return (L & 0xffff) == L; } -/// \brief Parse \p Input as line sample. +/// Parse \p Input as line sample. /// /// \param Input input line. /// \param IsCallsite true if the line represents an inlined callsite. @@ -184,7 +184,7 @@ static bool ParseLine(const StringRef &Input, bool &IsCallsite, uint32_t &Depth, return true; } -/// \brief Load samples from a text file. +/// Load samples from a text file. /// /// See the documentation at the top of the file for an explanation of /// the expected format. @@ -750,7 +750,7 @@ std::error_code SampleProfileReaderGCC::readOneFunctionProfile( return sampleprof_error::success; } -/// \brief Read a GCC AutoFDO profile. +/// Read a GCC AutoFDO profile. /// /// This format is generated by the Linux Perf conversion tool at /// https://github.com/google/autofdo. @@ -771,7 +771,7 @@ bool SampleProfileReaderGCC::hasFormat(const MemoryBuffer &Buffer) { return Magic == "adcg*704"; } -/// \brief Prepare a memory buffer for the contents of \p Filename. +/// Prepare a memory buffer for the contents of \p Filename. /// /// \returns an error code indicating the status of the buffer. static ErrorOr<std::unique_ptr<MemoryBuffer>> @@ -788,7 +788,7 @@ setupMemoryBuffer(const Twine &Filename) { return std::move(Buffer); } -/// \brief Create a sample profile reader based on the format of the input file. +/// Create a sample profile reader based on the format of the input file. /// /// \param Filename The file to open. /// @@ -803,7 +803,7 @@ SampleProfileReader::create(const Twine &Filename, LLVMContext &C) { return create(BufferOrError.get(), C); } -/// \brief Create a sample profile reader based on the format of the input data. +/// Create a sample profile reader based on the format of the input data. /// /// \param B The memory buffer to create the reader from (assumes ownership). /// |