llvm.org GIT mirror llvm / 6c31ee2
Lowercase the tag name to match the rest of dwarf. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153691 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 8 years ago
4 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
130130 DW_TAG_GNU_template_parameter_pack = 0x4107,
131131 DW_TAG_GNU_formal_parameter_pack = 0x4108,
132132 DW_TAG_lo_user = 0x4080,
133 DW_TAG_APPLE_Property = 0x4200,
133 DW_TAG_APPLE_property = 0x4200,
134134 DW_TAG_hi_user = 0xffff,
135135
136136 // Children flag
391391 unsigned PropertyAttributes,
392392 DIType Ty) {
393393 Value *Elts[] = {
394 GetTagConstant(VMContext, dwarf::DW_TAG_APPLE_Property),
394 GetTagConstant(VMContext, dwarf::DW_TAG_APPLE_property),
395395 MDString::get(VMContext, Name),
396396 File,
397397 ConstantInt::get(Type::getInt32Ty(VMContext), LineNumber),
290290
291291 /// isObjCProperty - Return true if the specified tag is DW_TAG
292292 bool DIDescriptor::isObjCProperty() const {
293 return DbgNode && getTag() == dwarf::DW_TAG_APPLE_Property;
293 return DbgNode && getTag() == dwarf::DW_TAG_APPLE_property;
294294 }
295295 //===----------------------------------------------------------------------===//
296296 // Simple Descriptor Constructors and other Methods
381381 if (!DbgNode)
382382 return false;
383383 unsigned Tag = getTag();
384 if (Tag != dwarf::DW_TAG_APPLE_Property) return false;
384 if (Tag != dwarf::DW_TAG_APPLE_property) return false;
385385 DIType Ty = getType();
386386 if (!Ty.Verify()) return false;
387387
9494 return "DW_TAG_GNU_template_parameter_pack";
9595 case DW_TAG_GNU_formal_parameter_pack:
9696 return "DW_TAG_GNU_formal_parameter_pack";
97 case DW_TAG_APPLE_Property: return "DW_TAG_APPLE_property";
97 case DW_TAG_APPLE_property: return "DW_TAG_APPLE_property";
9898 }
9999 return 0;
100100 }