Files
revng-revng/tools/efa/extractcfg/DecoratedFunction.h
Alessandro Di Federico ba1baf6609 tuple_tree_generator: make C++ just a regular backend
The `tuple_tree_generator` component was still heavily treating C++ as a
special citizen.
This commit normalizes the situation.
2022-08-11 11:18:02 +02:00

40 lines
969 B
C++

#pragma once
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
#include "revng/EarlyFunctionAnalysis/IRHelpers.h"
#include "revng/Support/MetaAddress.h"
#include "revng/Support/MetaAddress/YAMLTraits.h"
#include "revng/Support/YAMLTraits.h"
#include "revng/TupleTree/TupleTree.h"
/* TUPLE-TREE-YAML
name: DecoratedFunction
doc: A decorated function meant to be used for EFA tests
type: struct
fields:
- name: Entry
type: MetaAddress
- name: OriginalName
type: string
- name: FunctionMetadata
type: efa::FunctionMetadata
- name: Attributes
sequence:
type: MutableSet
elementType: model::FunctionAttribute::Values
key:
- Entry
TUPLE-TREE-YAML */
#include "Generated/Early/DecoratedFunction.h"
class revng::DecoratedFunction : public revng::generated::DecoratedFunction {
public:
using revng::generated::DecoratedFunction::DecoratedFunction;
};
#include "Generated/Late/DecoratedFunction.h"