diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-09-30 19:42:10 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-09-30 19:42:10 +0000 |
commit | e5388399c795edd3687b08f33446a253d65247d6 (patch) | |
tree | b6bb02a7ebbc5cc939ff6be070881f5cd6c542d8 /include/llvm/DebugInfo.h | |
parent | 5be81238f0683d0533f747124aa420e4e79440b1 (diff) | |
download | llvm-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.h | 4 |
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. |