Skip to content
Snippets Groups Projects
Commit 8c99d88a authored by Douglas Gregor's avatar Douglas Gregor
Browse files

Replace a FIXME with a comment describing why we did what we did

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125757 91177308-0d34-0410-b5e6-96231b3b80d8
parent f91d0871
No related branches found
No related tags found
No related merge requests found
...@@ -450,8 +450,11 @@ class ObjCInterfaceDecl : public ObjCContainerDecl { ...@@ -450,8 +450,11 @@ class ObjCInterfaceDecl : public ObjCContainerDecl {
/// Protocols reference in both the @interface and class extensions. /// Protocols reference in both the @interface and class extensions.
ObjCList<ObjCProtocolDecl> AllReferencedProtocols; ObjCList<ObjCProtocolDecl> AllReferencedProtocols;
/// List of categories defined for this class. /// \brief List of categories and class extensions defined for this class.
/// FIXME: Why is this a linked list?? ///
/// Categories are stored as a linked list in the AST, since the categories
/// and class extensions come long after the initial interface declaration,
/// and we avoid dynamically-resized arrays in the AST whereever possible.
ObjCCategoryDecl *CategoryList; ObjCCategoryDecl *CategoryList;
/// IvarList - List of all ivars defined by this class; including class /// IvarList - List of all ivars defined by this class; including class
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment