aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-06-21 23:04:20 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-06-21 23:04:20 +0000
commita72a12f3baed07f2663e48c5fc3b670c68dffe0c (patch)
treec1ade1fb113d0f47c927d47fee4599ac9f2d2a5c /lib/Sema/SemaChecking.cpp
parent9d5353cfb15e387a6e17da289f5da651530d827a (diff)
Fix some grammar nits in the comments from Nick.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133571 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
-rw-r--r--lib/Sema/SemaChecking.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp
index 1b9fd7769b..92da37bf23 100644
--- a/lib/Sema/SemaChecking.cpp
+++ b/lib/Sema/SemaChecking.cpp
@@ -1857,7 +1857,7 @@ static bool isDynamicClassType(QualType T) {
return false;
}
-/// \brief If E is a sizeof expression returns the argument expression,
+/// \brief If E is a sizeof expression, returns its argument expression,
/// otherwise returns NULL.
static const Expr *getSizeOfExprArg(const Expr* E) {
if (const UnaryExprOrTypeTraitExpr *SizeOf =
@@ -1868,7 +1868,7 @@ static const Expr *getSizeOfExprArg(const Expr* E) {
return 0;
}
-/// \brief If E is a sizeof expression returns the argument type.
+/// \brief If E is a sizeof expression, returns its argument type.
static QualType getSizeOfArgType(const Expr* E) {
if (const UnaryExprOrTypeTraitExpr *SizeOf =
dyn_cast<UnaryExprOrTypeTraitExpr>(E))