Add missing includes/class declaration.
authorEli Friedman <eli.friedman@gmail.com>
Fri, 4 Nov 2011 18:30:30 +0000 (18:30 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 4 Nov 2011 18:30:30 +0000 (18:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143718 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/BlockFrequency.h
include/llvm/Support/Capacity.h
include/llvm/Support/DynamicLibrary.h

index 554b7845696d6dc90cda72516b47b92bbfd9c53a..839cf93712472df359670ad07ae5dfc081f90891 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef LLVM_SUPPORT_BLOCKFREQUENCY_H
 #define LLVM_SUPPORT_BLOCKFREQUENCY_H
 
+#include "llvm/Support/DataTypes.h"
+
 namespace llvm {
 
 class raw_ostream;
index d8cda43b35768bce12ffc32ad7dcb7bb596dbc53..7460f9825bd32a33ceb97e15bf6f19530849937d 100644 (file)
@@ -15,6 +15,8 @@
 #ifndef LLVM_SUPPORT_CAPACITY_H
 #define LLVM_SUPPORT_CAPACITY_H
 
+#include <cstddef>
+
 namespace llvm {
 
 template <typename T>
index 288936bc0b9bd22c278ebec29c1965754e4a827f..0f59cbf23947d132f26804c2e5b410a0ef63854b 100644 (file)
@@ -17,6 +17,9 @@
 #include <string>
 
 namespace llvm {
+
+class StringRef;
+
 namespace sys {
 
   /// This class provides a portable interface to dynamic libraries which also