DebugInfo: Remove DIScope
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 20 Apr 2015 18:32:29 +0000 (18:32 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 20 Apr 2015 18:32:29 +0000 (18:32 +0000)
commitbe9e4fe768faf92071960b99cb329dbbd7e4b355
treeb9710e10adb562d67ef8c59f074ba608ac3be132
parentfc8d9d9a20906e2ee51796add3798538d653ee74
DebugInfo: Remove DIScope

Replace uses of `DIScope` with `MDScope*`.  There was one spot where
I've left an `MDScope*` uninitialized (where `DIScope` would have been
default-initialized to `nullptr`) -- this is intentional, since the
if/else that follows should unconditional assign it to a value.

llvm-svn: 235327
llvm/examples/Kaleidoscope/Chapter8/toy.cpp
llvm/include/llvm/IR/DebugInfo.h
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h