The ClassKind enum is used in AggregateDeclaration AST nodes to specify the linkage type of the struct/class/interface or if it is an anonymous class. If the class is anonymous it is also considered to be a D class.
the aggregate is a d(efault) class
the aggregate is a C++ struct/class/interface
the aggregate is an Objective-C class/interface
the aggregate is a C struct
See Implementation
The ClassKind enum is used in AggregateDeclaration AST nodes to specify the linkage type of the struct/class/interface or if it is an anonymous class. If the class is anonymous it is also considered to be a D class.