From: Mike Stump Date: Sat, 25 Jul 2009 22:12:02 +0000 (+0000) Subject: Improve comments (Thanks Fariborz). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae92140b542d5c1c096e39e74e59526184819b30;p=clang Improve comments (Thanks Fariborz). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77090 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index 8985051ad5..f43ab0bc78 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -216,7 +216,8 @@ public: return getObjCGCAttr() == Strong; } - /// getNoReturnAttr() - Return the noreturn attribute of this type. + /// getNoReturnAttr - Returns true if the type has the noreturn attribute, + /// false otherwise. bool getNoReturnAttr() const; }; @@ -2082,7 +2083,8 @@ inline QualType::GCAttrTypes QualType::getObjCGCAttr() const { return GCNone; } -/// getNoReturnAttr - Return the noreturn attribute of this type. + /// getNoReturnAttr - Returns true if the type has the noreturn attribute, + /// false otherwise. inline bool QualType::getNoReturnAttr() const { QualType CT = getTypePtr()->getCanonicalTypeInternal(); if (const PointerType *PT = getTypePtr()->getAsPointerType()) {