]> granicus.if.org Git - clang/commitdiff
Cleanup includes and forward decls.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 28 Nov 2009 10:50:44 +0000 (10:50 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 28 Nov 2009 10:50:44 +0000 (10:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90034 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathDiagnostic.h
lib/Analysis/CheckObjCUnusedIVars.cpp
lib/Analysis/ReturnStackAddressChecker.cpp

index efc66776d7ca8c8c9147e65e5388660d25e59557..2c2e018705c1efd9e7675a80bdc841cccaec6a21 100644 (file)
 #ifndef LLVM_CLANG_PATH_DIAGNOSTIC_H
 #define LLVM_CLANG_PATH_DIAGNOSTIC_H
 
-#include "clang/Basic/SourceManager.h"
 #include "clang/Basic/Diagnostic.h"
-#include "llvm/ADT/OwningPtr.h"
 #include "llvm/ADT/FoldingSet.h"
-
-#include <vector>
 #include <deque>
+#include <iterator>
 #include <string>
-#include <algorithm>
+#include <vector>
 
 namespace clang {
-    
-class Stmt;
+
 class Decl;
 class Preprocessor;
-  
+class SourceManager;
+class Stmt;
+
 //===----------------------------------------------------------------------===//
 // High-level interface for handlers of path-sensitive diagnostics.
 //===----------------------------------------------------------------------===//
 
 class PathDiagnostic;
-    
-class Stmt;
-class Decl;
-class Preprocessor;
 
 class PathDiagnosticClient : public DiagnosticClient  {
 public:
index 3ee5cb12d95d00abcaa728e32fc2274ebd591374..68a5674c69472f09ba6047fa7124587662b4527e 100644 (file)
@@ -20,6 +20,7 @@
 #include "clang/AST/Expr.h"
 #include "clang/AST/DeclObjC.h"
 #include "clang/Basic/LangOptions.h"
+#include "clang/Basic/SourceManager.h"
 
 using namespace clang;
 
index cb4065cb6ac5214e8574db5a0d5fecd6c26aa38f..3a6d8a41c0691ff69d6717ddfd22ec01cfc50815 100644 (file)
@@ -17,6 +17,7 @@
 #include "clang/Analysis/PathSensitive/GRExprEngine.h"
 #include "clang/Analysis/PathSensitive/BugReporter.h"
 #include "clang/Analysis/PathSensitive/CheckerVisitor.h"
+#include "clang/Basic/SourceManager.h"
 #include "llvm/ADT/SmallString.h"
 
 using namespace clang;