diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-09-05 19:44:52 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-09-05 19:44:52 +0000 |
commit | 66bd6729e986ff3ebae8360503b0528e9f8b44e2 (patch) | |
tree | 6667d194280c244d11ace60db213afb931b2de2b /include/llvm/DebugInfo.h | |
parent | 3987e532f7e7b326083d3b5145bd29bb69e15410 (diff) | |
download | llvm-66bd6729e986ff3ebae8360503b0528e9f8b44e2.tar.gz llvm-66bd6729e986ff3ebae8360503b0528e9f8b44e2.tar.bz2 llvm-66bd6729e986ff3ebae8360503b0528e9f8b44e2.tar.xz |
Trying to un-break the bots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DebugInfo.h')
-rw-r--r-- | include/llvm/DebugInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 997d01e994..bbb274329c 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -158,7 +158,8 @@ namespace llvm { /// Represents reference to a DIType, abstracts over direct and /// identifier-based metadata type references. class DITypeRef { - friend DITypeRef DIDescriptor::getFieldAs<DITypeRef>(unsigned Elt) const; + template <typename DescTy> + friend DescTy DIDescriptor::getFieldAs(unsigned Elt) const; /// TypeVal can be either a MDNode or a MDString, in the latter, /// MDString specifies the type identifier. |