diff options
author | Mike Stump <mrs@apple.com> | 2009-07-25 22:12:02 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-07-25 22:12:02 +0000 |
commit | ae92140b542d5c1c096e39e74e59526184819b30 (patch) | |
tree | aea6e2c5daea8f070b25d61fc5e060c837711625 | |
parent | 2455636163fdd18581d7fdae816433f886d88213 (diff) |
Improve comments (Thanks Fariborz).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77090 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/Type.h | 6 |
1 files changed, 4 insertions, 2 deletions
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()) { |