зеркало из https://github.com/microsoft/clang-1.git
clean up forward declarations of raw_ostream to use the new LLVM.h
patch by Jon Mulder! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135851 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
52a75bab9d
Коммит
d47d3b0cfe
|
@ -15,10 +15,7 @@
|
|||
#define LLVM_CLANG_AST_PRETTY_PRINTER_H
|
||||
|
||||
#include "clang/Basic/LangOptions.h"
|
||||
|
||||
namespace llvm {
|
||||
class raw_ostream;
|
||||
}
|
||||
#include "clang/Basic/LLVM.h"
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
@ -29,7 +26,7 @@ class LangOptions;
|
|||
class PrinterHelper {
|
||||
public:
|
||||
virtual ~PrinterHelper();
|
||||
virtual bool handledStmt(Stmt* E, llvm::raw_ostream& OS) = 0;
|
||||
virtual bool handledStmt(Stmt* E, raw_ostream& OS) = 0;
|
||||
};
|
||||
|
||||
/// \brief Describes how types, statements, expressions, and
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#ifndef LLVM_CLANG_SOURCEMANAGER_H
|
||||
#define LLVM_CLANG_SOURCEMANAGER_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "llvm/Support/Allocator.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
|
@ -25,10 +26,6 @@
|
|||
#include <vector>
|
||||
#include <cassert>
|
||||
|
||||
namespace llvm {
|
||||
class StringRef;
|
||||
}
|
||||
|
||||
namespace clang {
|
||||
|
||||
class Diagnostic;
|
||||
|
|
|
@ -14,12 +14,9 @@
|
|||
#ifndef LLVM_CLANG_LEX_DIRECTORYLOOKUP_H
|
||||
#define LLVM_CLANG_LEX_DIRECTORYLOOKUP_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
|
||||
namespace llvm {
|
||||
class StringRef;
|
||||
template <typename T> class SmallVectorImpl;
|
||||
}
|
||||
namespace clang {
|
||||
class HeaderMap;
|
||||
class DirectoryEntry;
|
||||
|
|
|
@ -14,12 +14,9 @@
|
|||
#ifndef LLVM_CLANG_SA_CORE_CHECKERPROVIDER_H
|
||||
#define LLVM_CLANG_SA_CORE_CHECKERPROVIDER_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
namespace llvm {
|
||||
class raw_ostream;
|
||||
}
|
||||
|
||||
namespace clang {
|
||||
|
||||
namespace ento {
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#ifndef LLVM_CLANG_GR_VALUESTATE_H
|
||||
#define LLVM_CLANG_GR_VALUESTATE_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h"
|
||||
#include "clang/StaticAnalyzer/Core/PathSensitive/Environment.h"
|
||||
#include "clang/StaticAnalyzer/Core/PathSensitive/Store.h"
|
||||
|
@ -21,12 +22,10 @@
|
|||
#include "llvm/ADT/PointerIntPair.h"
|
||||
#include "llvm/ADT/FoldingSet.h"
|
||||
#include "llvm/ADT/ImmutableMap.h"
|
||||
#include "llvm/Support/Casting.h"
|
||||
|
||||
namespace llvm {
|
||||
class APSInt;
|
||||
class BumpPtrAllocator;
|
||||
class raw_ostream;
|
||||
}
|
||||
|
||||
namespace clang {
|
||||
|
|
|
@ -19,15 +19,14 @@
|
|||
#include "clang/AST/CharUnits.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/DeclObjC.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/StaticAnalyzer/Core/PathSensitive/SVals.h"
|
||||
#include "llvm/Support/Casting.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/ADT/FoldingSet.h"
|
||||
#include <string>
|
||||
|
||||
namespace llvm {
|
||||
class BumpPtrAllocator;
|
||||
class raw_ostream;
|
||||
}
|
||||
|
||||
namespace clang {
|
||||
|
|
|
@ -15,14 +15,10 @@
|
|||
#ifndef LLVM_CLANG_GR_RVALUE_H
|
||||
#define LLVM_CLANG_GR_RVALUE_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h"
|
||||
#include "llvm/Support/Casting.h"
|
||||
#include "llvm/ADT/ImmutableList.h"
|
||||
|
||||
namespace llvm {
|
||||
class raw_ostream;
|
||||
}
|
||||
|
||||
//==------------------------------------------------------------------------==//
|
||||
// Base SVal types.
|
||||
//==------------------------------------------------------------------------==//
|
||||
|
|
|
@ -18,13 +18,13 @@
|
|||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/Analysis/AnalysisContext.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
#include "llvm/ADT/FoldingSet.h"
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
|
||||
namespace llvm {
|
||||
class BumpPtrAllocator;
|
||||
class raw_ostream;
|
||||
}
|
||||
|
||||
namespace clang {
|
||||
|
|
|
@ -15,14 +15,14 @@
|
|||
#ifndef CLANG_CODEGEN_CXXABI_H
|
||||
#define CLANG_CODEGEN_CXXABI_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
|
||||
#include "CodeGenFunction.h"
|
||||
|
||||
namespace llvm {
|
||||
class Constant;
|
||||
class Type;
|
||||
class Value;
|
||||
|
||||
template <class T> class SmallVectorImpl;
|
||||
}
|
||||
|
||||
namespace clang {
|
||||
|
|
|
@ -10,12 +10,13 @@
|
|||
#ifndef CLANG_CODEGEN_CGRECORDLAYOUT_H
|
||||
#define CLANG_CODEGEN_CGRECORDLAYOUT_H
|
||||
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
#include "clang/AST/CharUnits.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
|
||||
namespace llvm {
|
||||
class raw_ostream;
|
||||
class StructType;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче