aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-15 07:26:58 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-15 07:26:58 +0000
commit539e9b18e64479e1092e0cd52efdb2ad41b4d07d (patch)
tree38f10a555d401802c9d04f0f67b6765b434af0b9
parent72a0b79d204a9ea86aeffe82fa50ea635b4f63e7 (diff)
Make a couple more headers standalone
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88840 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Analysis/FlowSensitive/DataflowSolver.h1
-rw-r--r--include/clang/Analysis/PathSensitive/BugType.h1
-rw-r--r--include/clang/Analysis/PathSensitive/GRWorkList.h5
-rw-r--r--include/clang/Analysis/Support/Optional.h3
4 files changed, 9 insertions, 1 deletions
diff --git a/include/clang/Analysis/FlowSensitive/DataflowSolver.h b/include/clang/Analysis/FlowSensitive/DataflowSolver.h
index f505bca951..cbf7010bfd 100644
--- a/include/clang/Analysis/FlowSensitive/DataflowSolver.h
+++ b/include/clang/Analysis/FlowSensitive/DataflowSolver.h
@@ -16,6 +16,7 @@
#include "clang/Analysis/CFG.h"
#include "clang/Analysis/ProgramPoint.h"
+#include "clang/Analysis/FlowSensitive/DataflowValues.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "functional" // STL
diff --git a/include/clang/Analysis/PathSensitive/BugType.h b/include/clang/Analysis/PathSensitive/BugType.h
index 1526fbb38c..8303dee49a 100644
--- a/include/clang/Analysis/PathSensitive/BugType.h
+++ b/include/clang/Analysis/PathSensitive/BugType.h
@@ -23,6 +23,7 @@ class BugReportEquivClass;
class BugReporter;
class BuiltinBugReport;
class BugReporterContext;
+class ExplodedNode;
class GRExprEngine;
class BugType {
diff --git a/include/clang/Analysis/PathSensitive/GRWorkList.h b/include/clang/Analysis/PathSensitive/GRWorkList.h
index 17b83fdf9f..934a559770 100644
--- a/include/clang/Analysis/PathSensitive/GRWorkList.h
+++ b/include/clang/Analysis/PathSensitive/GRWorkList.h
@@ -16,9 +16,12 @@
#define LLVM_CLANG_ANALYSIS_GRWORKLIST
#include "clang/Analysis/PathSensitive/GRBlockCounter.h"
+#include <cstddef>
namespace clang {
-
+
+class CFGBlock;
+class ExplodedNode;
class ExplodedNodeImpl;
class GRWorkListUnit {
diff --git a/include/clang/Analysis/Support/Optional.h b/include/clang/Analysis/Support/Optional.h
index 3940007bb5..40f38be020 100644
--- a/include/clang/Analysis/Support/Optional.h
+++ b/include/clang/Analysis/Support/Optional.h
@@ -39,6 +39,9 @@ public:
} //end clang namespace
namespace llvm {
+
+template<typename T> struct simplify_type;
+
template <typename T>
struct simplify_type<const ::clang::Optional<T> > {
typedef const T* SimpleType;