Files
llvm-project/llvm/lib/CAS/CASNodeSchema.cpp
Steven Wu 5af4c1c65a [CAS] Introduce CASNodeSchema and NamedValuesSchema (#177058)
Introduce CASNodeSchema, which is the common base class for
building a schema that can be used to represent an object
inside CAS. The schema describes the ways to encode and decode
between CAS objects and their representative objects.

NamedValuesSchema is a basic schema that describes a sorted
list of named nodes, where each node is an object. The names are
stored in the root object, allowing users to decide whether to
load the objects based on their names.
2026-01-22 14:20:26 -08:00

16 lines
511 B
C++

//===- CASNodeSchema.cpp --------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include "llvm/CAS/CASNodeSchema.h"
using namespace llvm;
using namespace llvm::cas;
char NodeSchema::ID = 0;
void NodeSchema::anchor() {}