]> granicus.if.org Git - clang/commitdiff
[Allocator] Remove forward declarations of BumpPtrAllocator. These
authorChandler Carruth <chandlerc@gmail.com>
Sun, 30 Mar 2014 12:05:24 +0000 (12:05 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 30 Mar 2014 12:05:24 +0000 (12:05 +0000)
aren't necessary and will break when it changes to be a typedef of
a class template.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205142 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h
include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h
include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h

index 2483a79455b276cfc3947be19c274489af08314f..abb9519d111e539f363054987664c244ab936d06 100644 (file)
@@ -16,9 +16,7 @@
 #ifndef LLVM_CLANG_GR_BLOCKCOUNTER
 #define LLVM_CLANG_GR_BLOCKCOUNTER
 
-namespace llvm {
-  class BumpPtrAllocator;
-}
+#include "llvm/Support/Allocator.h"
 
 namespace clang {
 
index 6b03519b44e797c7ab544caa8f74c1acfc08904e..e3173a08d9febf08822629291516342532469800 100644 (file)
 #include "clang/Basic/LLVM.h"
 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.h"
 #include "llvm/ADT/FoldingSet.h"
+#include "llvm/Support/Allocator.h"
 #include "llvm/Support/ErrorHandling.h"
 #include <string>
 
-namespace llvm {
-class BumpPtrAllocator;
-}
-
 namespace clang {
 
 class LocationContext;
index 93c9259ea7a882c02834bd1a86ce6a595fe129b3..4d345eba984103442950093cf2d144c5ec67dbb9 100644 (file)
 #include "llvm/ADT/FoldingSet.h"
 #include "llvm/ADT/ImmutableMap.h"
 #include "llvm/ADT/PointerIntPair.h"
+#include "llvm/Support/Allocator.h"
 
 namespace llvm {
 class APSInt;
-class BumpPtrAllocator;
 }
 
 namespace clang {
index eb52ae47bdf23dc874c50d9f058fc888c2ed08d0..88098eee8a25c0c8c084e52b12aa83280f072b1e 100644 (file)
 #ifndef LLVM_CLANG_GR_PROGRAMSTATETRAIT_H
 #define LLVM_CLANG_GR_PROGRAMSTATETRAIT_H
 
+#include "llvm/Support/Allocator.h"
 #include "llvm/Support/DataTypes.h"
 
 namespace llvm {
-  class BumpPtrAllocator;
   template <typename K, typename D, typename I> class ImmutableMap;
   template <typename K, typename I> class ImmutableSet;
   template <typename T> class ImmutableList;
index 0827e35dbeaebe7079130e5a7f317340d27740f1..e491fb0328e32713ec9c4d8cdea327b2b665ee7f 100644 (file)
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/DenseSet.h"
 #include "llvm/ADT/FoldingSet.h"
+#include "llvm/Support/Allocator.h"
 #include "llvm/Support/DataTypes.h"
 
-namespace llvm {
-class BumpPtrAllocator;
-}
-
 namespace clang {
   class ASTContext;
   class StackFrameContext;