]> granicus.if.org Git - clang/commitdiff
CodeGen: Sentences end with a period
authorJustin Bogner <mail@justinbogner.com>
Tue, 7 Jan 2014 00:20:28 +0000 (00:20 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 7 Jan 2014 00:20:28 +0000 (00:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198649 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGException.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CodeGenPGO.cpp

index 26e061d41ab189740c9aac5698a607b9ff040c8b..5acb4537f3d22e21efe34d737a766e18018e68b9 100644 (file)
@@ -1294,7 +1294,7 @@ void CodeGenFunction::ExitCXXTryStmt(const CXXTryStmt &S, bool IsFnTryBlock) {
     // 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);
 
index 9c108e9375023f47a29e435cd5bb3b58134490f0..940022bdddc39b3c08c112c95fb50532af8f673f 100644 (file)
@@ -2660,7 +2660,7 @@ EmitConditionalOperatorLValue(const AbstractConditionalOperator *expr) {
     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);
index d1b57d80c3559353ad3d175c269f57207ad158dc..c1a45be115ec610ed22c43ec94d41001d13640c9 100644 (file)
@@ -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());