[llvm] r190092 - Trying to un-break the bots.

Manman Ren manman.ren at gmail.com
Thu Sep 5 12:44:52 PDT 2013


Author: mren
Date: Thu Sep  5 14:44:52 2013
New Revision: 190092

URL: http://llvm.org/viewvc/llvm-project?rev=190092&view=rev
Log:
Trying to un-break the bots.

Modified:
    llvm/trunk/include/llvm/DebugInfo.h

Modified: llvm/trunk/include/llvm/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo.h?rev=190092&r1=190091&r2=190092&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/DebugInfo.h Thu Sep  5 14:44:52 2013
@@ -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.





More information about the llvm-commits mailing list