DebugInfo: Move DISubprogram::is*() queries to MDSubprogram
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 7 Apr 2015 03:33:57 +0000 (03:33 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 7 Apr 2015 03:33:57 +0000 (03:33 +0000)
commit320efb05a1e7516268e711901ca9454bb4d94172
tree3b86bace5d1df1f24b40f4d04260450dd83928c6
parent8395c21d775021accaea64bda80b20023354e95e
DebugInfo: Move DISubprogram::is*() queries to MDSubprogram

Move body of `DISubprogram::isPrivate()` (etc.) to `MDSubprogram`, and
change the versions in `DISubprogram` to forward there.

This is just like r234275, but for subprograms instead of types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234282 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfo.h
include/llvm/IR/DebugInfoMetadata.h