diff options
-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()) { |