summaryrefslogtreecommitdiff
path: root/tools/slang-cpp-extractor/diagnostic-defs.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2022-03-24 11:12:19 -0400
committerGitHub <noreply@github.com>2022-03-24 11:12:19 -0400
commite1a331a2e2945f2b90c00d0af4d1ba5f67dbd256 (patch)
treeba59b7055464a387ae52e67088a56ee1d5b5fc7d /tools/slang-cpp-extractor/diagnostic-defs.h
parent91292b8ca80ede633d1c4effaf8b3f5cf2ac3f2b (diff)
C++ extractor parsing slang.h (#2162)
* #include an absolute path didn't work - because paths were taken to always be relative. * Split doc extractor such that can be used in C++ extractor. * Compiles. Update the stdlib docs. * Fix issue on release builds. * Add support for extracting documentation to C++ extractor. * Dump out markup. Make enum value backing type take tokens. * Node::Type -> Node::Kind * More improvements around Node::Type -> Node::Kind * Support for parsing callable types. * Fix issue params for callable, and default value for variable. * Add support for static. * Improve handling parsing of contained types. * Small improvements around template consumption. * Improve dumping with markup/static. * Small improvements around reflection. * Add more flexible handling of markers. Allow reflection without markers. * Handling external "C" unsigned/signed
Diffstat (limited to 'tools/slang-cpp-extractor/diagnostic-defs.h')
-rw-r--r--tools/slang-cpp-extractor/diagnostic-defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/slang-cpp-extractor/diagnostic-defs.h b/tools/slang-cpp-extractor/diagnostic-defs.h
index c7e364291..85e88d64d 100644
--- a/tools/slang-cpp-extractor/diagnostic-defs.h
+++ b/tools/slang-cpp-extractor/diagnostic-defs.h
@@ -52,6 +52,9 @@ DIAGNOSTIC(100017, Error, cannotParseExpression, "Cannot parse expression")
DIAGNOSTIC(100018, Error, cannotOverload, "Cannot overload this declaration");
DIAGNOSTIC(100019, Error, classMarkerOutsideOfClass, "A class/struct marker is found outside of class or struct");
DIAGNOSTIC(100020, Error, classMarkerAlreadyFound, "A class/struct marker already found in type '$0'");
+DIAGNOSTIC(100021, Error, cannotParseType, "Cannot parse type");
+DIAGNOSTIC(100022, Error, destructorNameDoesntMatch, "Destructor name doesn't match class name '$0'");
+DIAGNOSTIC(100023, Error, cannotParseCallable, "Cannot parse callable");
// Command line errors 100100