mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00:00
[Support] Fix up header comments after splitting Allocator.h, NFC
This commit is contained in:
parent
8067073c48
commit
eba62584a3
@ -7,13 +7,10 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
/// \file
|
||||
///
|
||||
/// This file defines the MallocAllocator and BumpPtrAllocator interfaces. Both
|
||||
/// of these conform to an LLVM "Allocator" concept which consists of an
|
||||
/// Allocate method accepting a size and alignment, and a Deallocate accepting
|
||||
/// a pointer and size. Further, the LLVM "Allocator" concept has overloads of
|
||||
/// Allocate and Deallocate for setting size and alignment based on the final
|
||||
/// type. These overloads are typically provided by a base class template \c
|
||||
/// AllocatorBase.
|
||||
/// This file defines the BumpPtrAllocator interface. BumpPtrAllocator conforms
|
||||
/// to the LLVM "Allocator" concept and is similar to MallocAllocator, but
|
||||
/// objects cannot be deallocated. Their lifetime is tied to the lifetime of the
|
||||
/// allocator.
|
||||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
//===- AllocatorBase.h - Simple memory allocation abstraction -------*- C++ -*-===//
|
||||
//===- AllocatorBase.h - Simple memory allocation abstraction ---*- C++ -*-===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
@ -7,13 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
/// \file
|
||||
///
|
||||
/// This file defines the MallocAllocator and BumpPtrAllocator interfaces. Both
|
||||
/// of these conform to an LLVM "Allocator" concept which consists of an
|
||||
/// Allocate method accepting a size and alignment, and a Deallocate accepting
|
||||
/// a pointer and size. Further, the LLVM "Allocator" concept has overloads of
|
||||
/// Allocate and Deallocate for setting size and alignment based on the final
|
||||
/// type. These overloads are typically provided by a base class template \c
|
||||
/// AllocatorBase.
|
||||
/// This file defines MallocAllocator. MallocAllocator conforms to the LLVM
|
||||
/// "Allocator" concept which consists of an Allocate method accepting a size
|
||||
/// and alignment, and a Deallocate accepting a pointer and size. Further, the
|
||||
/// LLVM "Allocator" concept has overloads of Allocate and Deallocate for
|
||||
/// setting size and alignment based on the final type. These overloads are
|
||||
/// typically provided by a base class template \c AllocatorBase.
|
||||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user