DIBuilder: Encapsulate DIExpression's element type
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 1 Oct 2014 20:26:08 +0000 (20:26 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 1 Oct 2014 20:26:08 +0000 (20:26 +0000)
commitd045b8439a25e293a83e0881d6bda4096c46379f
tree2fe78081eca9ef799546bbf25dad802e9049208d
parent024b2914159edc0fb8d2c0d18432b530206215ea
DIBuilder: Encapsulate DIExpression's element type

`DIExpression`'s elements are 64-bit integers that are stored as
`ConstantInt`.  The accessors already encapsulate the storage.  This
commit updates the `DIBuilder` API to also encapsulate that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218797 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DIBuilder.h
lib/IR/DIBuilder.cpp
lib/Transforms/Utils/Local.cpp