Files
revng-revng/include/revng/Yield/CrossRelations/RelationDescription.h
Ivan Krysak c838d2b019 CrossRelations: greatly simplify Relation Targets
This improves readability of the serialized version quite a bit.
2023-05-17 14:08:06 +02:00

38 lines
752 B
C++

#pragma once
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
#include "revng/ADT/SortedVector.h"
/* TUPLE-TREE-YAML
name: RelationDescription
type: struct
fields:
- name: Location
type: string
- name: IsCalledFrom
sequence:
type: SortedVector
elementType: string
optional: true
key:
- Location
TUPLE-TREE-YAML */
#include "revng/Yield/CrossRelations/Generated/Early/RelationDescription.h"
namespace yield::crossrelations {
class RelationDescription : public generated::RelationDescription {
public:
using generated::RelationDescription::RelationDescription;
};
} // namespace yield::crossrelations
#include "revng/Yield/CrossRelations/Generated/Late/RelationDescription.h"