aboutsummaryrefslogtreecommitdiff
path: root/source/20-codegen-compiler/CodegenOutput.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/20-codegen-compiler/CodegenOutput.hpp')
-rw-r--r--source/20-codegen-compiler/CodegenOutput.hpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/source/20-codegen-compiler/CodegenOutput.hpp b/source/20-codegen-compiler/CodegenOutput.hpp
index aa28715..df949f5 100644
--- a/source/20-codegen-compiler/CodegenOutput.hpp
+++ b/source/20-codegen-compiler/CodegenOutput.hpp
@@ -1,7 +1,5 @@
#pragma once
-#include "CodegenDecl.hpp"
-
#include <Utils.hpp>
#include <robin_hood.h>
@@ -20,9 +18,6 @@ class CodegenOutput {
private:
robin_hood::unordered_set<std::string, StringHash, StringEqual> mRequestIncludes;
std::vector<CodegenOutputThing> mOutThings;
- std::vector<DeclStruct> mOutStructs;
- std::vector<DeclEnum> mOutEnums;
- std::vector<DeclFunction> mOutFunctions;
public:
std::string optionOutPrefix;
@@ -31,7 +26,7 @@ public:
public:
void AddRequestInclude(std::string_view include);
- void AddOutputThing(CodegenOutputThing thing);
+ void AddOutputThing(CodegenOutputThing thing, int placementLocation = -1);
void MergeContents(CodegenOutput other);