AggregateDeclaration.classKind

specifies whether this is a D, C++, Objective-C or anonymous struct/class/interface

class AggregateDeclaration
ClassKind classKind;

Meta