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.
36 lines
597 B
C++
36 lines
597 B
C++
#pragma once
|
|
|
|
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
#include "revng/Yield/RelationType.h"
|
|
|
|
/* TUPLE-TREE-YAML
|
|
|
|
name: RelationTarget
|
|
type: struct
|
|
fields:
|
|
- name: Kind
|
|
type: RelationType
|
|
- name: Location
|
|
type: string
|
|
key:
|
|
- Kind
|
|
- Location
|
|
|
|
TUPLE-TREE-YAML */
|
|
|
|
#include "revng/Yield/Generated/Early/RelationTarget.h"
|
|
|
|
namespace yield {
|
|
|
|
class RelationTarget : public generated::RelationTarget {
|
|
public:
|
|
using generated::RelationTarget::RelationTarget;
|
|
};
|
|
|
|
} // namespace yield
|
|
|
|
#include "revng/Yield/Generated/Late/RelationTarget.h"
|