diff options
author | rtk0c <[email protected]> | 2022-06-11 11:37:45 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-06-11 11:37:45 -0700 |
commit | f29a141ab4c4308aed66f930a6f3a42cd20a482d (patch) | |
tree | 482cb3698e45ddc22cc39977dac3e49071554eb1 /source/20-codegen-compiler/CodegenInput.hpp | |
parent | 123bea4fc8d828cec7b41949bab1db443387728e (diff) |
Changeset: 70 Fix cmake and codegen infra
- Invoke codegen.exe once with a list of changed files, instead of individually for each changed file (this gives the codegen global access to all the code, allowing more things)
- Initial support for outputting an archive SQLite database that contains all the code info
Diffstat (limited to 'source/20-codegen-compiler/CodegenInput.hpp')
-rw-r--r-- | source/20-codegen-compiler/CodegenInput.hpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/source/20-codegen-compiler/CodegenInput.hpp b/source/20-codegen-compiler/CodegenInput.hpp deleted file mode 100644 index 63c2673..0000000 --- a/source/20-codegen-compiler/CodegenInput.hpp +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once - -#include "CodegenConfig.hpp" -#include "CodegenDecl.hpp" -#include "CodegenUtils.hpp" - -#include <cinttypes> -#include <string> -#include <string_view> - -using namespace std::literals; - -class CodegenInput { -private: - class Private; - Private* m; - -public: - CodegenInput(); - ~CodegenInput(); - - DeclEnum* AddEnum(std::string fullname, DeclEnum decl); - DeclStruct* AddStruct(std::string fullname, DeclStruct decl); - - const DeclEnum* FindEnum(std::string_view name) const; - const DeclStruct* FindStruct(std::string_view name) const; - - DeclNamespace* AddNamespace(DeclNamespace ns); - - const DeclNamespace* FindNamespace(std::string_view fullname) const; - DeclNamespace* FindNamespace(std::string_view name); -}; |