[cfe-commits] r90034 - in /cfe/trunk: include/clang/Analysis/PathDiagnostic.h lib/Analysis/CheckObjCUnusedIVars.cpp lib/Analysis/ReturnStackAddressChecker.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sat Nov 28 02:50:45 PST 2009
Author: d0k
Date: Sat Nov 28 04:50:44 2009
New Revision: 90034
URL: http://llvm.org/viewvc/llvm-project?rev=90034&view=rev
Log:
Cleanup includes and forward decls.
Modified:
cfe/trunk/include/clang/Analysis/PathDiagnostic.h
cfe/trunk/lib/Analysis/CheckObjCUnusedIVars.cpp
cfe/trunk/lib/Analysis/ReturnStackAddressChecker.cpp
Modified: cfe/trunk/include/clang/Analysis/PathDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathDiagnostic.h?rev=90034&r1=90033&r2=90034&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/PathDiagnostic.h (original)
+++ cfe/trunk/include/clang/Analysis/PathDiagnostic.h Sat Nov 28 04:50:44 2009
@@ -14,31 +14,25 @@
#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:
Modified: cfe/trunk/lib/Analysis/CheckObjCUnusedIVars.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CheckObjCUnusedIVars.cpp?rev=90034&r1=90033&r2=90034&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CheckObjCUnusedIVars.cpp (original)
+++ cfe/trunk/lib/Analysis/CheckObjCUnusedIVars.cpp Sat Nov 28 04:50:44 2009
@@ -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;
Modified: cfe/trunk/lib/Analysis/ReturnStackAddressChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/ReturnStackAddressChecker.cpp?rev=90034&r1=90033&r2=90034&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/ReturnStackAddressChecker.cpp (original)
+++ cfe/trunk/lib/Analysis/ReturnStackAddressChecker.cpp Sat Nov 28 04:50:44 2009
@@ -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;
More information about the cfe-commits
mailing list