aboutsummaryrefslogtreecommitdiff
path: root/source/20-codegen-compiler/CodegenDecl.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-06-11 11:37:45 -0700
committerrtk0c <[email protected]>2022-06-11 11:37:45 -0700
commitf29a141ab4c4308aed66f930a6f3a42cd20a482d (patch)
tree482cb3698e45ddc22cc39977dac3e49071554eb1 /source/20-codegen-compiler/CodegenDecl.hpp
parent123bea4fc8d828cec7b41949bab1db443387728e (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/CodegenDecl.hpp')
-rw-r--r--source/20-codegen-compiler/CodegenDecl.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/20-codegen-compiler/CodegenDecl.hpp b/source/20-codegen-compiler/CodegenDecl.hpp
index 60d5a13..739dbe4 100644
--- a/source/20-codegen-compiler/CodegenDecl.hpp
+++ b/source/20-codegen-compiler/CodegenDecl.hpp
@@ -77,6 +77,7 @@ struct DeclEnum {
std::string_view fullname;
std::vector<DeclEnumElement> elements;
EnumUnderlyingType underlyingType;
+ std::string underlyingTypeStr;
// Start with invalid value, calculate on demand
mutable EnumValuePattern pattern = EVP_COUNT;