diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-07-21 04:07:11 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-07-21 04:07:11 +0000 |
| commit | 15727f69fa666d62431d26fcec4dc2c512666477 (patch) | |
| tree | 4cd6a7dea08f04c75bf1e2f129ece0174ee87bb5 /clang | |
| parent | 2a47fa737273a5f2287e1087f9978a13ea493acf (diff) | |
| download | bcm5719-llvm-15727f69fa666d62431d26fcec4dc2c512666477.tar.gz bcm5719-llvm-15727f69fa666d62431d26fcec4dc2c512666477.zip | |
improve comments.
llvm-svn: 53818
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/include/clang/AST/ASTContext.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/clang/include/clang/AST/ASTContext.h b/clang/include/clang/AST/ASTContext.h index 51a87dd8c5d..7572d18ca36 100644 --- a/clang/include/clang/AST/ASTContext.h +++ b/clang/include/clang/AST/ASTContext.h @@ -268,10 +268,10 @@ public: /// 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 @@ public: 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; } |

