Deleted Added
full compact
BumpVector.h (208954) BumpVector.h (210299)
1//===-- BumpVector.h - Vector-like ADT that uses bump allocation --*- C++ -*-=//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 10 unchanged lines hidden (view full) ---

19#ifndef LLVM_CLANG_BUMP_VECTOR
20#define LLVM_CLANG_BUMP_VECTOR
21
22#include "llvm/Support/type_traits.h"
23#include "llvm/Support/Allocator.h"
24#include "llvm/ADT/PointerIntPair.h"
25#include <algorithm>
26#include <cstring>
1//===-- BumpVector.h - Vector-like ADT that uses bump allocation --*- C++ -*-=//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 10 unchanged lines hidden (view full) ---

19#ifndef LLVM_CLANG_BUMP_VECTOR
20#define LLVM_CLANG_BUMP_VECTOR
21
22#include "llvm/Support/type_traits.h"
23#include "llvm/Support/Allocator.h"
24#include "llvm/ADT/PointerIntPair.h"
25#include <algorithm>
26#include <cstring>
27#include <memory>
27
28namespace clang {
29
30class BumpVectorContext {
31 llvm::PointerIntPair<llvm::BumpPtrAllocator*, 1> Alloc;
32public:
33 /// Construct a new BumpVectorContext that creates a new BumpPtrAllocator
34 /// and destroys it when the BumpVectorContext object is destroyed.

--- 182 unchanged lines hidden ---
28
29namespace clang {
30
31class BumpVectorContext {
32 llvm::PointerIntPair<llvm::BumpPtrAllocator*, 1> Alloc;
33public:
34 /// Construct a new BumpVectorContext that creates a new BumpPtrAllocator
35 /// and destroys it when the BumpVectorContext object is destroyed.

--- 182 unchanged lines hidden ---