[cfe-commits] r77090 - /cfe/trunk/include/clang/AST/Type.h

Mike Stump mrs at apple.com
Sat Jul 25 15:12:02 PDT 2009


Author: mrs
Date: Sat Jul 25 17:12:02 2009
New Revision: 77090

URL: http://llvm.org/viewvc/llvm-project?rev=77090&view=rev
Log:
Improve comments (Thanks Fariborz).

Modified:
    cfe/trunk/include/clang/AST/Type.h

Modified: cfe/trunk/include/clang/AST/Type.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Type.h?rev=77090&r1=77089&r2=77090&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/Type.h (original)
+++ cfe/trunk/include/clang/AST/Type.h Sat Jul 25 17:12:02 2009
@@ -216,7 +216,8 @@
     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 @@
   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()) {





More information about the cfe-commits mailing list