aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-09-09 19:23:58 +0000
committerManman Ren <manman.ren@gmail.com>2013-09-09 19:23:58 +0000
commit18eb245a2e5ec41b5da1367d5f7e7619532f7ceb (patch)
tree1115d0d84744f4e8df50462657e47e050609effd /include
parentdb3a9e64f856e3a233a427da1f3969fd3a65a438 (diff)
downloadexternal_llvm-18eb245a2e5ec41b5da1367d5f7e7619532f7ceb.zip
external_llvm-18eb245a2e5ec41b5da1367d5f7e7619532f7ceb.tar.gz
external_llvm-18eb245a2e5ec41b5da1367d5f7e7619532f7ceb.tar.bz2
Debug Info: move DIScope::getContext to DwarfDebug.
DIScope::getContext is a wrapper function that calls the specific getContext method on each subclass. When we switch DIType::getContext to return DIScopeRef instead of DIScope, DIScope::getContext can no longer return a DIScope without a type identifier map. DIScope::getContext is only used by DwarfDebug, so we move it to DwarfDebug to have easy access to the type identifier map. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190330 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/DebugInfo.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index df9c0c7..a758fcc 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -200,9 +200,6 @@ namespace llvm {
public:
explicit DIScope(const MDNode *N = 0) : DIDescriptor (N) {}
- /// Gets the parent scope for this scope node or returns a
- /// default constructed scope.
- DIScope getContext() const;
StringRef getFilename() const;
StringRef getDirectory() const;