summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/MicrosoftCXXABI.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-07 00:09:47 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-07 00:09:47 +0000
commitcc11b6c1fe006ff63d44718292d347eeb947a55a (patch)
tree6131918de1cc601d1972e66d1618a884c279b523 /clang/lib/CodeGen/MicrosoftCXXABI.cpp
parent3a85a726057f05d2f319e7a24e0fb1aae7166629 (diff)
downloadbcm5719-llvm-cc11b6c1fe006ff63d44718292d347eeb947a55a.tar.gz
bcm5719-llvm-cc11b6c1fe006ff63d44718292d347eeb947a55a.zip
DebugInfo: Drop dead code for loose DIDescriptor construction API
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*`. llvm-svn: 234263
Diffstat (limited to 'clang/lib/CodeGen/MicrosoftCXXABI.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud