GCC Middle and Back End API Reference
vrange_internal_alloc Class Referenceabstract
Inheritance diagram for vrange_internal_alloc:

Public Member Functions

 vrange_internal_alloc ()
 
virtual ~vrange_internal_alloc ()
 
virtual void * alloc (size_t size)=0
 
virtual void free (void *)=0
 

Private Member Functions

 DISABLE_COPY_AND_ASSIGN (vrange_internal_alloc)
 

Detailed Description

Support routines for vrange storage.
   Copyright (C) 2022-2024 Free Software Foundation, Inc.
   Contributed by Aldy Hernandez <aldyh@redhat.com>.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.

GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   

Constructor & Destructor Documentation

◆ vrange_internal_alloc()

vrange_internal_alloc::vrange_internal_alloc ( )
inline

◆ ~vrange_internal_alloc()

virtual vrange_internal_alloc::~vrange_internal_alloc ( )
inlinevirtual

Member Function Documentation

◆ alloc()

virtual void * vrange_internal_alloc::alloc ( size_t size)
pure virtual

◆ DISABLE_COPY_AND_ASSIGN()

vrange_internal_alloc::DISABLE_COPY_AND_ASSIGN ( vrange_internal_alloc )
private

◆ free()

virtual void vrange_internal_alloc::free ( void * )
pure virtual

Implemented in vrange_ggc_alloc, and vrange_obstack_alloc.

Referenced by vrange_allocator::free().


The documentation for this class was generated from the following file: