Files
ladybird/Libraries/LibGC/HeapRoot.h
Shannon Booth 6dc1ae36b2 LibGC: Add missing Export.h include in HeapRoot.h
This was causing weird clangd errors for myself.
2026-01-21 22:26:14 +01:00

32 lines
544 B
C++

/*
* Copyright (c) 2023-2025, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/SourceLocation.h>
#include <LibGC/Export.h>
namespace GC {
struct GC_API HeapRoot {
enum class Type {
ConservativeVector,
HeapFunctionCapturedPointer,
MustSurviveGC,
RegisterPointer,
Root,
RootHashMap,
RootVector,
StackPointer,
VM,
};
Type type;
SourceLocation const* location { nullptr };
};
}