From 13945a51d932fc42fc1f31723ae64070d90708de Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Mon, 26 Oct 2020 17:10:24 -0400 Subject: Value type serialization via C++ Extractor (#1588) * #include an absolute path didn't work - because paths were taken to always be relative. * Fix handling of access modifiers inside type definition. * Fix access problem for AST node. Make dumping produce a single function with switch, to potentially make available without Dump specific access. * WIP on serialization design doc. * Remove project references to previously generated files. * More docs on serialization design. * Improve serialization documentation. Remove unused function from IRSerialReader. * Small fixes around naming. Remove long comment from slang-serialize.h - as covered in serialization.md * Remove long comment in slang-serialize.h as covered in serialization.md * More information about doing replacements on read for AST and problems surrounding. * Typo fix. * Spelling fixes. * Value serialize. * Value types with inheritence. * Use value reflection serial conversion for more AST types * Use automatic serialization on more of AST. * Get the types via decltype, simplifies what the extractor has to do. * Update the serialization.md for the value serialization. * Small doc improvements. * Update project. --- source/slang/slang-value-reflect.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/slang/slang-value-reflect.cpp') diff --git a/source/slang/slang-value-reflect.cpp b/source/slang/slang-value-reflect.cpp index 9a7f1feb3..3c19deba4 100644 --- a/source/slang/slang-value-reflect.cpp +++ b/source/slang/slang-value-reflect.cpp @@ -2,7 +2,12 @@ #include "slang-value-reflect.h" +#include "slang-generated-value.h" +#include "slang-generated-value-macro.h" + namespace Slang { + + } // namespace Slang -- cgit v1.2.3