[llvm] r203287 - Actually include the ArrayRef header rather than rely on the forward

Eric Christopher echristo at gmail.com
Fri Mar 7 13:30:49 PST 2014


Author: echristo
Date: Fri Mar  7 15:30:49 2014
New Revision: 203287

URL: http://llvm.org/viewvc/llvm-project?rev=203287&view=rev
Log:
Actually include the ArrayRef header rather than rely on the forward
declaration.

Modified:
    llvm/trunk/include/llvm/Support/MD5.h

Modified: llvm/trunk/include/llvm/Support/MD5.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/MD5.h?rev=203287&r1=203286&r2=203287&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/MD5.h (original)
+++ llvm/trunk/include/llvm/Support/MD5.h Fri Mar  7 15:30:49 2014
@@ -28,13 +28,12 @@
 #ifndef LLVM_SYSTEM_MD5_H
 #define LLVM_SYSTEM_MD5_H
 
+#include "llvm/ADT/ArrayRef.h"
 #include "llvm/ADT/SmallString.h"
 #include "llvm/Support/DataTypes.h"
 
 namespace llvm {
 
-template <typename T> class ArrayRef;
-
 class MD5 {
   // Any 32-bit or wider unsigned integer data type will do.
   typedef uint32_t MD5_u32plus;





More information about the llvm-commits mailing list