r198649 - CodeGen: Sentences end with a period

Justin Bogner mail at justinbogner.com
Mon Jan 6 16:20:29 PST 2014


Author: bogner
Date: Mon Jan  6 18:20:28 2014
New Revision: 198649

URL: http://llvm.org/viewvc/llvm-project?rev=198649&view=rev
Log:
CodeGen: Sentences end with a period

Modified:
    cfe/trunk/lib/CodeGen/CGException.cpp
    cfe/trunk/lib/CodeGen/CGExpr.cpp
    cfe/trunk/lib/CodeGen/CodeGenPGO.cpp

Modified: cfe/trunk/lib/CodeGen/CGException.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGException.cpp?rev=198649&r1=198648&r2=198649&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGException.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGException.cpp Mon Jan  6 18:20:28 2014
@@ -1294,7 +1294,7 @@ void CodeGenFunction::ExitCXXTryStmt(con
     // Initialize the catch variable and set up the cleanups.
     BeginCatch(*this, C);
 
-    // Emit the PGO counter increment
+    // Emit the PGO counter increment.
     RegionCounter CatchCnt = getPGORegionCounter(C);
     CatchCnt.beginRegion(Builder);
 

Modified: cfe/trunk/lib/CodeGen/CGExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExpr.cpp?rev=198649&r1=198648&r2=198649&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGExpr.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExpr.cpp Mon Jan  6 18:20:28 2014
@@ -2660,7 +2660,7 @@ EmitConditionalOperatorLValue(const Abst
     if (!CondExprBool) std::swap(live, dead);
 
     if (!ContainsLabel(dead)) {
-      // If the true case is live, we need to track its region
+      // If the true case is live, we need to track its region.
       if (CondExprBool)
         Cnt.beginRegion(Builder);
       return EmitLValue(live);

Modified: cfe/trunk/lib/CodeGen/CodeGenPGO.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenPGO.cpp?rev=198649&r1=198648&r2=198649&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenPGO.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenPGO.cpp Mon Jan  6 18:20:28 2014
@@ -234,12 +234,12 @@ namespace {
     }
     void VisitStmt(const Stmt *S) { VisitChildren(S); }
 
-    /// Assign a counter to track entry to the function body
+    /// Assign a counter to track entry to the function body.
     void VisitFunctionDecl(const FunctionDecl *S) {
       (*CounterMap)[S->getBody()] = NextCounter++;
       Visit(S->getBody());
     }
-    /// Assign a counter to track the block following a label
+    /// Assign a counter to track the block following a label.
     void VisitLabelStmt(const LabelStmt *S) {
       (*CounterMap)[S] = NextCounter++;
       Visit(S->getSubStmt());





More information about the cfe-commits mailing list