summaryrefslogtreecommitdiff
path: root/include/llvm/DebugInfo.h
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-09-30 19:42:10 +0000
committerManman Ren <manman.ren@gmail.com>2013-09-30 19:42:10 +0000
commite5388399c795edd3687b08f33446a253d65247d6 (patch)
treeb6bb02a7ebbc5cc939ff6be070881f5cd6c542d8 /include/llvm/DebugInfo.h
parent5be81238f0683d0533f747124aa420e4e79440b1 (diff)
downloadllvm-e5388399c795edd3687b08f33446a253d65247d6.tar.gz
llvm-e5388399c795edd3687b08f33446a253d65247d6.tar.bz2
llvm-e5388399c795edd3687b08f33446a253d65247d6.tar.xz
Debug Info: constify and rename from generateRef to getRef.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DebugInfo.h')
-rw-r--r--include/llvm/DebugInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index 515dc65162..ecdca49558 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -211,7 +211,7 @@ namespace llvm {
/// Generate a reference to this DIScope. Uses the type identifier instead
/// of the actual MDNode if possible, to help type uniquing.
- DIScopeRef generateRef();
+ DIScopeRef getRef() const;
};
/// Represents reference to a DIDescriptor, abstracts over direct and
@@ -221,7 +221,7 @@ namespace llvm {
template <typename DescTy>
friend DescTy DIDescriptor::getFieldAs(unsigned Elt) const;
friend DIScopeRef DIScope::getContext() const;
- friend DIScopeRef DIScope::generateRef();
+ friend DIScopeRef DIScope::getRef() const;
/// Val can be either a MDNode or a MDString, in the latter,
/// MDString specifies the type identifier.