summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-02-09 21:32:56 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-02-09 21:32:56 +0000
commit49a0e5ea00faa0a75b62a1b79e259aa0ef221005 (patch)
tree40fd91362739e10c0d770666d1a90b8039a10063
parent77f6c46922f88cbfe4125b063f4c901a4c4747af (diff)
downloadllvm-49a0e5ea00faa0a75b62a1b79e259aa0ef221005.tar.gz
Update comment style.
llvm-svn: 260286
-rw-r--r--llvm/tools/llvm-size/llvm-size.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/llvm/tools/llvm-size/llvm-size.cpp b/llvm/tools/llvm-size/llvm-size.cpp
index 56b9dc58d2ef..9647767e77c0 100644
--- a/llvm/tools/llvm-size/llvm-size.cpp
+++ b/llvm/tools/llvm-size/llvm-size.cpp
@@ -79,7 +79,7 @@ InputFilenames(cl::Positional, cl::desc("<input files>"), cl::ZeroOrMore);
static std::string ToolName;
-/// @brief If ec is not success, print the error and return true.
+/// If ec is not success, print the error and return true.
static bool error(std::error_code ec) {
if (!ec)
return false;
@@ -89,8 +89,8 @@ static bool error(std::error_code ec) {
return true;
}
-/// @brief Get the length of the string that represents @p num in Radix
-/// including the leading 0x or 0 for hexadecimal and octal respectively.
+/// Get the length of the string that represents @p num in Radix including the
+/// leading 0x or 0 for hexadecimal and octal respectively.
static size_t getNumLengthAsString(uint64_t num) {
APInt conv(64, num);
SmallString<32> result;
@@ -98,7 +98,7 @@ static size_t getNumLengthAsString(uint64_t num) {
return result.size();
}
-/// @brief Return the printing format for the Radix.
+/// Return the printing format for the Radix.
static const char *getRadixFmt() {
switch (Radix) {
case octal:
@@ -111,7 +111,7 @@ static const char *getRadixFmt() {
return nullptr;
}
-/// @brief Print the size of each Mach-O segment and section in @p MachO.
+/// Print the size of each Mach-O segment and section in @p MachO.
///
/// This is when used when @c OutputFormat is darwin and produces the same
/// output as darwin's size(1) -m output.
@@ -186,7 +186,7 @@ static void PrintDarwinSectionSizes(MachOObjectFile *MachO) {
outs() << "total " << format(fmt.str().c_str(), total) << "\n";
}
-/// @brief Print the summary sizes of the standard Mach-O segments in @p MachO.
+/// Print the summary sizes of the standard Mach-O segments in @p MachO.
///
/// This is when used when @c OutputFormat is berkeley with a Mach-O file and
/// produces the same output as darwin's size(1) default output.
@@ -261,7 +261,7 @@ static void PrintDarwinSegmentSizes(MachOObjectFile *MachO) {
<< "\t";
}
-/// @brief Print the size of each section in @p Obj.
+/// Print the size of each section in @p Obj.
///
/// The format used is determined by @c OutputFormat and @c Radix.
static void PrintObjectSectionSizes(ObjectFile *Obj) {
@@ -379,11 +379,11 @@ static void PrintObjectSectionSizes(ObjectFile *Obj) {
}
}
-/// @brief Checks to see if the @p o ObjectFile is a Mach-O file and if it is
-/// and there is a list of architecture flags specified then check to
-/// make sure this Mach-O file is one of those architectures or all
-/// architectures was specificed. If not then an error is generated and
-/// this routine returns false. Else it returns true.
+/// Checks to see if the @p o ObjectFile is a Mach-O file and if it is and there
+/// is a list of architecture flags specified then check to make sure this
+/// Mach-O file is one of those architectures or all architectures was
+/// specificed. If not then an error is generated and this routine returns
+/// false. Else it returns true.
static bool checkMachOAndArchFlags(ObjectFile *o, StringRef file) {
if (isa<MachOObjectFile>(o) && !ArchAll && ArchFlags.size() != 0) {
MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o);
@@ -413,8 +413,8 @@ static bool checkMachOAndArchFlags(ObjectFile *o, StringRef file) {
return true;
}
-/// @brief Print the section sizes for @p file. If @p file is an archive, print
-/// the section sizes for each archive member.
+/// Print the section sizes for @p file. If @p file is an archive, print the
+/// section sizes for each archive member.
static void PrintFileSectionSizes(StringRef file) {
// Attempt to open the binary.