From: Jordan Rose Date: Tue, 6 May 2014 16:07:54 +0000 (+0000) Subject: Update comment for ObjCImplementationDecl's handling of instance variables. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a233d806f2ec1a92f26122214656dcc23bc3b5c1;p=clang Update comment for ObjCImplementationDecl's handling of instance variables. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208099 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h index 737276a6e5..50f99e7639 100644 --- a/include/clang/AST/DeclObjC.h +++ b/include/clang/AST/DeclObjC.h @@ -1976,11 +1976,14 @@ raw_ostream &operator<<(raw_ostream &OS, const ObjCCategoryImplDecl &CID); /// \@end /// @endcode /// -/// Typically, instance variables are specified in the class interface, -/// *not* in the implementation. Nevertheless (for legacy reasons), we -/// allow instance variables to be specified in the implementation. When -/// specified, they need to be *identical* to the interface. +/// In a non-fragile runtime, instance variables can appear in the class +/// interface, class extensions (nameless categories), and in the implementation +/// itself, as well as being synthesized as backing storage for properties. /// +/// In a fragile runtime, instance variables are specified in the class +/// interface, \em not in the implementation. Nevertheless (for legacy reasons), +/// we allow instance variables to be specified in the implementation. When +/// specified, they need to be \em identical to the interface. class ObjCImplementationDecl : public ObjCImplDecl { void anchor() override; /// Implementation Class's super class.