diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-10-09 19:46:28 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-10-09 19:46:28 +0000 |
commit | b4d9c11f6c7e0a38e750f946d5cea3ffa5ae8f61 (patch) | |
tree | 1c8e3279acc05997c5cd0ad7e17a94a73a4324eb /include | |
parent | 9360e64e60f600bff98dbff96fabaab536947f86 (diff) | |
download | external_llvm-b4d9c11f6c7e0a38e750f946d5cea3ffa5ae8f61.zip external_llvm-b4d9c11f6c7e0a38e750f946d5cea3ffa5ae8f61.tar.gz external_llvm-b4d9c11f6c7e0a38e750f946d5cea3ffa5ae8f61.tar.bz2 |
Debug Info: In DIBuilder, the context and type fields of template_type and
template_value are updated to use DIRef.
A paired commit at clang is required due to changes to DIBuilder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192320 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/DebugInfo.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 49b81e3..3f1c1c8 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -539,9 +539,9 @@ class DITemplateTypeParameter : public DIDescriptor { public: explicit DITemplateTypeParameter(const MDNode *N = 0) : DIDescriptor(N) {} - DIScope getContext() const { return getFieldAs<DIScope>(1); } + DIScopeRef getContext() const { return getFieldAs<DIScopeRef>(1); } StringRef getName() const { return getStringField(2); } - DIType getType() const { return getFieldAs<DIType>(3); } + DITypeRef getType() const { return getFieldAs<DITypeRef>(3); } StringRef getFilename() const { return getFieldAs<DIFile>(4).getFilename(); } StringRef getDirectory() const { return getFieldAs<DIFile>(4).getDirectory(); @@ -556,9 +556,9 @@ class DITemplateValueParameter : public DIDescriptor { public: explicit DITemplateValueParameter(const MDNode *N = 0) : DIDescriptor(N) {} - DIScope getContext() const { return getFieldAs<DIScope>(1); } + DIScopeRef getContext() const { return getFieldAs<DIScopeRef>(1); } StringRef getName() const { return getStringField(2); } - DIType getType() const { return getFieldAs<DIType>(3); } + DITypeRef getType() const { return getFieldAs<DITypeRef>(3); } Value *getValue() const; StringRef getFilename() const { return getFieldAs<DIFile>(5).getFilename(); } StringRef getDirectory() const { |