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)
llvm-svn: 198649

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

index 26e061d..5acb453 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 9c108e9..940022b 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 d1b57d8..c1a45be 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());