summaryrefslogtreecommitdiff
path: root/include/llvm/IR
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-04-01 03:50:01 +0000
committerAdrian Prantl <aprantl@apple.com>2014-04-01 03:50:01 +0000
commit75b7b95687477fd5338cf0684a4f3552fef5af0b (patch)
treef9c4035da94668d4b45251a2e7b35d2c0362f6a1 /include/llvm/IR
parent1a2786b90015c04d5b38f51d90dbb6e93fa772d6 (diff)
downloadllvm-75b7b95687477fd5338cf0684a4f3552fef5af0b.tar.gz
llvm-75b7b95687477fd5338cf0684a4f3552fef5af0b.tar.bz2
llvm-75b7b95687477fd5338cf0684a4f3552fef5af0b.tar.xz
Remove FIXMEs. The scope of a Variable is always a lexical scope; there is
nothing to be gained from switching this over to a DIScopeRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205281 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR')
-rw-r--r--include/llvm/IR/DebugInfo.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/IR/DebugInfo.h b/include/llvm/IR/DebugInfo.h
index 228df49793..69beaada9c 100644
--- a/include/llvm/IR/DebugInfo.h
+++ b/include/llvm/IR/DebugInfo.h
@@ -612,7 +612,6 @@ class DIGlobalVariable : public DIDescriptor {
public:
explicit DIGlobalVariable(const MDNode *N = 0) : DIDescriptor(N) {}
- // FIXME: use DIScopeRef for LTO type uniqueing.
DIScope getContext() const { return getFieldAs<DIScope>(2); }
StringRef getName() const { return getStringField(3); }
StringRef getDisplayName() const { return getStringField(4); }
@@ -646,7 +645,6 @@ class DIVariable : public DIDescriptor {
public:
explicit DIVariable(const MDNode *N = 0) : DIDescriptor(N) {}
- // FIXME: use DIScopeRef for LTO type uniqueing.
DIScope getContext() const { return getFieldAs<DIScope>(1); }
StringRef getName() const { return getStringField(2); }
DIFile getFile() const { return getFieldAs<DIFile>(3); }