[llvm-commits] [llvm] r143718 - in /llvm/trunk/include/llvm/Support: BlockFrequency.h Capacity.h DynamicLibrary.h
Eli Friedman
eli.friedman at gmail.com
Fri Nov 4 11:30:30 PDT 2011
Author: efriedma
Date: Fri Nov 4 13:30:30 2011
New Revision: 143718
URL: http://llvm.org/viewvc/llvm-project?rev=143718&view=rev
Log:
Add missing includes/class declaration.
Modified:
llvm/trunk/include/llvm/Support/BlockFrequency.h
llvm/trunk/include/llvm/Support/Capacity.h
llvm/trunk/include/llvm/Support/DynamicLibrary.h
Modified: llvm/trunk/include/llvm/Support/BlockFrequency.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/BlockFrequency.h?rev=143718&r1=143717&r2=143718&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/BlockFrequency.h (original)
+++ llvm/trunk/include/llvm/Support/BlockFrequency.h Fri Nov 4 13:30:30 2011
@@ -14,6 +14,8 @@
#ifndef LLVM_SUPPORT_BLOCKFREQUENCY_H
#define LLVM_SUPPORT_BLOCKFREQUENCY_H
+#include "llvm/Support/DataTypes.h"
+
namespace llvm {
class raw_ostream;
Modified: llvm/trunk/include/llvm/Support/Capacity.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Capacity.h?rev=143718&r1=143717&r2=143718&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Capacity.h (original)
+++ llvm/trunk/include/llvm/Support/Capacity.h Fri Nov 4 13:30:30 2011
@@ -15,6 +15,8 @@
#ifndef LLVM_SUPPORT_CAPACITY_H
#define LLVM_SUPPORT_CAPACITY_H
+#include <cstddef>
+
namespace llvm {
template <typename T>
Modified: llvm/trunk/include/llvm/Support/DynamicLibrary.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/DynamicLibrary.h?rev=143718&r1=143717&r2=143718&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/DynamicLibrary.h (original)
+++ llvm/trunk/include/llvm/Support/DynamicLibrary.h Fri Nov 4 13:30:30 2011
@@ -17,6 +17,9 @@
#include <string>
namespace llvm {
+
+class StringRef;
+
namespace sys {
/// This class provides a portable interface to dynamic libraries which also
More information about the llvm-commits
mailing list