mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
e98edd267c
Delete `DIDescriptor::is*()` and the various constructors from `MDNode*` in `DIDescriptor` subclasses. If this just broke your out-of-tree code, you need to make updates along the lines of r234255, r234256, r234257 and r234258: - Generally, `DIX().isX()` => `isa<MDX>()`. So, `D.isCompileUnit()` should just be `isa<MDCompileUnit>(D)`, modulo checks for null. - Exception: `DILexicalBlock` => `MDLexicalBlockBase`. - Exception: `DIDerivedType` => `MDDerivedTypeBase`. - Exception: `DICompositeType` => `MDCompositeTypeBase`. - Exception: `DIVariable` => `MDLocalVariable`. - Note that (e.g.) `DICompileUnit` has an implicit constructor from `MDCompileUnit*`. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234263 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
llvm | ||
llvm-c |