From d7b4d537daca3d99d42e8d4eac01d1633382072f Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Tue, 7 Jan 2014 00:20:28 +0000 Subject: [PATCH] CodeGen: Sentences end with a period git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198649 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGException.cpp | 2 +- lib/CodeGen/CGExpr.cpp | 2 +- lib/CodeGen/CodeGenPGO.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/CodeGen/CGException.cpp b/lib/CodeGen/CGException.cpp index 26e061d41a..5acb4537f3 100644 --- a/lib/CodeGen/CGException.cpp +++ b/lib/CodeGen/CGException.cpp @@ -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); diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index 9c108e9375..940022bddd 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -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); diff --git a/lib/CodeGen/CodeGenPGO.cpp b/lib/CodeGen/CodeGenPGO.cpp index d1b57d80c3..c1a45be115 100644 --- a/lib/CodeGen/CodeGenPGO.cpp +++ b/lib/CodeGen/CodeGenPGO.cpp @@ -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()); -- 2.40.0