OSDN Git Service

Debug Info: move class definition of DIRef.
authorManman Ren <manman.ren@gmail.com>
Wed, 11 Sep 2013 18:55:55 +0000 (18:55 +0000)
committerManman Ren <manman.ren@gmail.com>
Wed, 11 Sep 2013 18:55:55 +0000 (18:55 +0000)
commitdc293b3fe9e3cb7eb7ce7035b32218251a06fbfe
tree279dfd3d252c3d3067823a2ac4712b5312b31d69
parent55c06ae7afa3f862a6bb4a4441fe485c135f5b5e
Debug Info: move class definition of DIRef.

Definition of DIRef used to require the full definition of DIType because
of usage of DIType::isType in DIRef::resolve. We now use DIDescriptor::isType
instead to remove the requirement and move definition of DIRef before DIType.

With this, we can move the definition of DIType::getContext to the header
file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190540 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo.h
lib/IR/DebugInfo.cpp