mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
1d91ed9beb
The `tuple_tree_generator` component was still heavily treating C++ as a special citizen. This commit normalizes the situation.
37 lines
678 B
C++
37 lines
678 B
C++
#pragma once
|
|
|
|
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
#include "revng/Yield/RelationTarget.h"
|
|
|
|
/* TUPLE-TREE-YAML
|
|
|
|
name: RelationDescription
|
|
type: struct
|
|
fields:
|
|
- name: Location
|
|
type: string
|
|
- name: Related
|
|
sequence:
|
|
type: SortedVector
|
|
elementType: RelationTarget
|
|
key:
|
|
- Location
|
|
|
|
TUPLE-TREE-YAML */
|
|
|
|
#include "revng/Yield/Generated/Early/RelationDescription.h"
|
|
|
|
namespace yield {
|
|
|
|
class RelationDescription : public generated::RelationDescription {
|
|
public:
|
|
using generated::RelationDescription::RelationDescription;
|
|
};
|
|
|
|
} // namespace yield
|
|
|
|
#include "revng/Yield/Generated/Late/RelationDescription.h"
|