Add LLVMDIMetadataGetTag to retrieve any DINode's DWARF tag.
What's the actual use-case for this? I'm afraid that this might expose something that is more an implementation detail and would make the C API more brittle.
I've only seen it used to discriminate between different kinds of DIScopes. If it's really an implementation detail, I can abandon this patch.
I think it's worth asking on llvm-dev as to what kind of API is this.
Resigning to get out of my queue--retag me if there's any progress.
Abandoning this revision to keep it out of the review queue.