OSDN Git Service

[format] Add correct punctuation to comment
authorStephen Tozer <stephen.tozer@sony.com>
Fri, 5 Apr 2019 15:59:07 +0000 (15:59 +0000)
committerStephen Tozer <stephen.tozer@sony.com>
Fri, 5 Apr 2019 15:59:07 +0000 (15:59 +0000)
Test commit that adds a grammatically correct full stop to a single
comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357771 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-readobj/ObjDumper.cpp

index f762ff8..2009dde 100644 (file)
@@ -130,7 +130,7 @@ void ObjDumper::printSectionAsHex(const object::ObjectFile *Obj,
     // We are adding the (4 - i) last rows that are 8 characters each.
     // Then, the (4 - i) spaces that are in between the rows.
     // Least, if we cut in a middle of a row, we add the remaining characters,
-    // which is (8 - (k * 2))
+    // which is (8 - (k * 2)).
     if (i < 4)
       W.startLine() << format("%*c", (4 - i) * 8 + (4 - i) + (8 - (k * 2)),
                               ' ');