diff options
author | Devang Patel <dpatel@apple.com> | 2010-08-02 22:51:46 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-08-02 22:51:46 +0000 |
commit | 5b164b5a5cab577fdfc21b22b78b3207dbcfbcf1 (patch) | |
tree | 97555581a865cfdabf1def731a831c1ff7d0203e /lib/Analysis | |
parent | 32a9e831c27dd18e388e02a6bf1e95aae240c575 (diff) | |
download | external_llvm-5b164b5a5cab577fdfc21b22b78b3207dbcfbcf1.zip external_llvm-5b164b5a5cab577fdfc21b22b78b3207dbcfbcf1.tar.gz external_llvm-5b164b5a5cab577fdfc21b22b78b3207dbcfbcf1.tar.bz2 |
Add explicit constructors. Patch by Renato Golin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/DebugInfo.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index 472669c..77e0ece 100644 --- a/lib/Analysis/DebugInfo.cpp +++ b/lib/Analysis/DebugInfo.cpp @@ -32,6 +32,21 @@ using namespace llvm::dwarf; // DIDescriptor //===----------------------------------------------------------------------===// +DIDescriptor::DIDescriptor(const DIFile F) : DbgNode(F.DbgNode) { +} + +DIDescriptor::DIDescriptor(const DISubprogram F) : DbgNode(F.DbgNode) { +} + +DIDescriptor::DIDescriptor(const DILexicalBlock F) : DbgNode(F.DbgNode) { +} + +DIDescriptor::DIDescriptor(const DIVariable F) : DbgNode(F.DbgNode) { +} + +DIDescriptor::DIDescriptor(const DIType F) : DbgNode(F.DbgNode) { +} + StringRef DIDescriptor::getStringField(unsigned Elt) const { if (DbgNode == 0) |