diff options
author | Devang Patel <dpatel@apple.com> | 2009-12-08 23:21:45 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-12-08 23:21:45 +0000 |
commit | 0000fadb00cf971cd8ffb4ebe500777a84daf8f5 (patch) | |
tree | fefe1d1338ea476937d9e1bb0a67c1101bd78048 /include | |
parent | d831cda3e74235704f163d5a18352584d537517a (diff) | |
download | external_llvm-0000fadb00cf971cd8ffb4ebe500777a84daf8f5.zip external_llvm-0000fadb00cf971cd8ffb4ebe500777a84daf8f5.tar.gz external_llvm-0000fadb00cf971cd8ffb4ebe500777a84daf8f5.tar.bz2 |
Revert 90858 90875 and 90805 for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90898 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/DebugInfo.h | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index a6ccc29..232804e 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h @@ -99,7 +99,6 @@ namespace llvm { bool isGlobalVariable() const; bool isScope() const; bool isCompileUnit() const; - bool isNameSpace() const; bool isLexicalBlock() const; bool isSubrange() const; bool isEnumerator() const; @@ -219,7 +218,7 @@ namespace llvm { virtual ~DIType() {} DIDescriptor getContext() const { return getDescriptorField(1); } - StringRef getName() const { return getStringField(2); } + StringRef getName() const { return getStringField(2); } DICompileUnit getCompileUnit() const{ return getFieldAs<DICompileUnit>(3); } unsigned getLineNumber() const { return getUnsignedField(4); } uint64_t getSizeInBits() const { return getUInt64Field(5); } @@ -471,22 +470,6 @@ namespace llvm { StringRef getFilename() const { return getContext().getFilename(); } }; - /// DINameSpace - A wrapper for a C++ style name space. - class DINameSpace : public DIScope { - public: - explicit DINameSpace(MDNode *N = 0) : DIScope(N) { - if (DbgNode && !isNameSpace()) - DbgNode = 0; - } - - DIScope getContext() const { return getFieldAs<DIScope>(1); } - StringRef getName() const { return getStringField(2); } - StringRef getDirectory() const { return getContext().getDirectory(); } - StringRef getFilename() const { return getContext().getFilename(); } - DICompileUnit getCompileUnit() const { return getFieldAs<DICompileUnit>(3); } - unsigned getLineNumber() const { return getUnsignedField(4); } - }; - /// DILocation - This object holds location information. This object /// is not associated with any DWARF tag. class DILocation : public DIDescriptor { @@ -641,11 +624,6 @@ namespace llvm { /// with the specified parent context. DILexicalBlock CreateLexicalBlock(DIDescriptor Context); - /// CreateNameSpace - This creates new descriptor for a namespace - /// with the specified parent context. - DINameSpace CreateNameSpace(DIDescriptor Context, StringRef Name, - DICompileUnit CU, unsigned LineNo); - /// CreateLocation - Creates a debug info location. DILocation CreateLocation(unsigned LineNo, unsigned ColumnNo, DIScope S, DILocation OrigLoc); |