summaryrefslogtreecommitdiffstats
path: root/clang/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
commit889ed86d73d1a7d5c7b8febe69ff322a194733e9 (patch)
tree700793b36f774bce706b4a1fb44372fcaed7b775 /clang/lib/Sema/SemaChecking.cpp
parentf51c5a5b71a9e50340019b2e52fb43c18b40f814 (diff)
downloadbcm5719-llvm-889ed86d73d1a7d5c7b8febe69ff322a194733e9.tar.gz
bcm5719-llvm-889ed86d73d1a7d5c7b8febe69ff322a194733e9.zip
Fix some grammar nits in the comments from Nick.
llvm-svn: 133571
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
-rw-r--r--clang/lib/Sema/SemaChecking.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index 1b9fd7769bd..92da37bf234 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/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))
OpenPOWER on IntegriCloud