IR: Make DICompositeType mutators private
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 18 Dec 2014 00:54:39 +0000 (00:54 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 18 Dec 2014 00:54:39 +0000 (00:54 +0000)
commit9fb36654265a8dfa1eb8e5e5054311c5396386aa
tree6a1a48ed68a9f9018ceda4f33424004981084a08
parentd0b6b7fb7f2ae52703aec0cd07a0d6b2ff5429ce
IR: Make DICompositeType mutators private

Make `DICompositeType` mutators private to prevent misuse.  All calls to
`setArrays()` and `setContainingType()` should go through
`DIBuilder::replaceArrays()` and `DIBuilder::replaceVTableHolder()`.

This is a follow-up to r224482 (now that clang has been updated in
r224483).

llvm-svn: 224486
llvm/include/llvm/IR/DebugInfo.h