]> granicus.if.org Git - clang/commitdiff
Make a couple more headers standalone
authorDouglas Gregor <dgregor@apple.com>
Sun, 15 Nov 2009 07:26:58 +0000 (07:26 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sun, 15 Nov 2009 07:26:58 +0000 (07:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88840 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/FlowSensitive/DataflowSolver.h
include/clang/Analysis/PathSensitive/BugType.h
include/clang/Analysis/PathSensitive/GRWorkList.h
include/clang/Analysis/Support/Optional.h

index f505bca9519cf362bd554528e76732cf7f4f1515..cbf7010bfdb53cf77ba4b4620c6c65c64b6bd699 100644 (file)
@@ -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
 
index 1526fbb38c649238e32d8b009d83f1cb68f787ec..8303dee49afafcca5eb681bb8123d4bd9ae50c57 100644 (file)
@@ -23,6 +23,7 @@ class BugReportEquivClass;
 class BugReporter;
 class BuiltinBugReport;
 class BugReporterContext;
+class ExplodedNode;
 class GRExprEngine;
 
 class BugType {
index 17b83fdf9fdc3d362a8eb3e224afd753bdadf4c1..934a559770d5883f7a03a5236ed87f93583fea04 100644 (file)
 #define LLVM_CLANG_ANALYSIS_GRWORKLIST
 
 #include "clang/Analysis/PathSensitive/GRBlockCounter.h"
+#include <cstddef>
 
 namespace clang {
-
+  
+class CFGBlock;
+class ExplodedNode;
 class ExplodedNodeImpl;
 
 class GRWorkListUnit {
index 3940007bb574f33f4143f5c329c256ccc7e32a85..40f38be020a920e11429b6252e53b0f817eab65d 100644 (file)
@@ -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;