IR: Split out DebugInfoMetadata.h, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 2 Feb 2015 18:53:21 +0000 (18:53 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 2 Feb 2015 18:53:21 +0000 (18:53 +0000)
commitca8d3bf8af0bd32076e4a60b1f997ee48c3187d8
tree72a28d25cf7555234631c68a78174ffb96ce1ea9
parent4502a3c3d2fe843f2e76f5b4a8fdcf64f5b3bf5b
IR: Split out DebugInfoMetadata.h, NFC

Move debug-info-centred `Metadata` subclasses into their own
header/source file.  A couple of private template functions are needed
from both `Metadata.cpp` and `DebugInfoMetadata.cpp`, so I've moved them
to `lib/IR/MetadataImpl.h`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227835 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/llvm/IR/DebugInfo.h
include/llvm/IR/DebugInfoMetadata.h [new file with mode: 0644]
include/llvm/IR/Metadata.h
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/Bitcode/Writer/ValueEnumerator.cpp
lib/IR/CMakeLists.txt
lib/IR/DebugInfoMetadata.cpp [new file with mode: 0644]
lib/IR/LLVMContextImpl.h
lib/IR/Metadata.cpp
lib/IR/MetadataImpl.h [new file with mode: 0644]
unittests/IR/MetadataTest.cpp