summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-01-07 00:20:28 +0000
committerJustin Bogner <mail@justinbogner.com>2014-01-07 00:20:28 +0000
commitea278c32495eb011be5020a3eb04a54dd8cb425a (patch)
treeeac386eca351b583d8fcbe062e7624b6434547c4
parent5a87c0fb37b5f37f3c8b5f3a48b7e8fcea02a7d7 (diff)
downloadbcm5719-llvm-ea278c32495eb011be5020a3eb04a54dd8cb425a.tar.gz
bcm5719-llvm-ea278c32495eb011be5020a3eb04a54dd8cb425a.zip
CodeGen: Sentences end with a period
llvm-svn: 198649
-rw-r--r--clang/lib/CodeGen/CGException.cpp2
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp2
-rw-r--r--clang/lib/CodeGen/CodeGenPGO.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp
index 26e061d41ab..5acb4537f3d 100644
--- a/clang/lib/CodeGen/CGException.cpp
+++ b/clang/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/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index 9c108e93750..940022bdddc 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/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/clang/lib/CodeGen/CodeGenPGO.cpp b/clang/lib/CodeGen/CodeGenPGO.cpp
index d1b57d80c35..c1a45be115e 100644
--- a/clang/lib/CodeGen/CodeGenPGO.cpp
+++ b/clang/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());
OpenPOWER on IntegriCloud