]> granicus.if.org Git - clang/commitdiff
Fix some grammar nits in the comments from Nick.
authorChandler Carruth <chandlerc@gmail.com>
Tue, 21 Jun 2011 23:04:20 +0000 (23:04 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 21 Jun 2011 23:04:20 +0000 (23:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133571 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaChecking.cpp

index 1b9fd7769bd4dfbec5443e939e53fce35960df3c..92da37bf234178fd2ec1b8f35b48fedac73b308a 100644 (file)
@@ -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))