Lines Matching defs:Property
208 struct Property {
219 typedef std::vector<Property> PropertiesSeq;
222 LLVM_YAML_IS_SEQUENCE_VECTOR(Property)
226 template <> struct MappingTraits<Property> {
227 static void mapping(IO &IO, Property &P) {
896 for (const auto &Property : C.Properties) {
898 if ((!Property.Kind || *Property.Kind == MethodKind::Instance) &&
899 !KnownInstanceProperties.insert(Property.Name).second) {
901 C.Name + "." + Property.Name + "'");
905 if ((!Property.Kind || *Property.Kind == MethodKind::Class) &&
906 !KnownClassProperties.insert(Property.Name).second) {
908 C.Name + "." + Property.Name + "'");
912 // Translate from Property into ObjCPropertyInfo.
914 convertVariable(Property, PI);
915 if (Property.SwiftImportAsAccessors)
916 PI.setSwiftImportAsAccessors(*Property.SwiftImportAsAccessors);
919 if (Property.Kind) {
920 Writer.addObjCProperty(CtxID, Property.Name,
921 *Property.Kind == MethodKind::Instance, PI,
924 Writer.addObjCProperty(CtxID, Property.Name, true, PI, SwiftVersion);
925 Writer.addObjCProperty(CtxID, Property.Name, false, PI, SwiftVersion);