[cfe-commits] r53818 - /cfe/trunk/include/clang/AST/ASTContext.h
Chris Lattner
sabre at nondot.org
Sun Jul 20 21:07:11 PDT 2008
Author: lattner
Date: Sun Jul 20 23:07:11 2008
New Revision: 53818
URL: http://llvm.org/viewvc/llvm-project?rev=53818&view=rev
Log:
improve comments.
Modified:
cfe/trunk/include/clang/AST/ASTContext.h
Modified: cfe/trunk/include/clang/AST/ASTContext.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ASTContext.h?rev=53818&r1=53817&r2=53818&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ASTContext.h (original)
+++ cfe/trunk/include/clang/AST/ASTContext.h Sun Jul 20 23:07:11 2008
@@ -268,10 +268,10 @@
/// purpose.
int getObjCEncodingTypeSize(QualType t);
- // This setter/getter repreents the ObjC 'id' type. It is setup lazily, by
- // Sema.
- void setObjCIdType(TypedefDecl *Decl);
+ /// This setter/getter represents the ObjC 'id' type. It is setup lazily, by
+ /// Sema. id is always a (typedef for a) pointer type, a pointer to a struct.
QualType getObjCIdType() const { return ObjCIdType; }
+ void setObjCIdType(TypedefDecl *Decl);
void setObjCSelType(TypedefDecl *Decl);
QualType getObjCSelType() const { return ObjCSelType; }
@@ -279,8 +279,11 @@
void setObjCProtoType(QualType QT);
QualType getObjCProtoType() const { return ObjCProtoType; }
- void setObjCClassType(TypedefDecl *Decl);
+ /// This setter/getter repreents the ObjC 'Class' type. It is setup lazily, by
+ /// Sema. 'Class' is always a (typedef for a) pointer type, a pointer to a
+ /// struct.
QualType getObjCClassType() const { return ObjCClassType; }
+ void setObjCClassType(TypedefDecl *Decl);
void setBuiltinVaListType(QualType T);
QualType getBuiltinVaListType() const { return BuiltinVaListType; }
More information about the cfe-commits
mailing list