DebugInfo: Gut DILocation
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 14 Apr 2015 01:35:55 +0000 (01:35 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 14 Apr 2015 01:35:55 +0000 (01:35 +0000)
commitd59e30dfb7cf7ecfa16557cd36da645df2d600d7
tree80d11aeee0454ce1d7b08e6ae3ffe45c65ac541d
parent1624f35f2b85272e0bc573c1dbe23904be47e073
DebugInfo: Gut DILocation

This is along the same lines as r234832, but for `DILocation`.  Clean
out all accessors from `DILocation`.  Any callers should be using
`MDLocation` directly (e.g., via `operator->()`).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234835 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfo.h
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/IR/DebugInfo.cpp
lib/IR/DiagnosticInfo.cpp
lib/Transforms/Scalar/SampleProfile.cpp
lib/Transforms/Utils/AddDiscriminators.cpp