summaryrefslogtreecommitdiff
path: root/tools/slang-cpp-extractor/slang-cpp-extractor-diagnostic-defs.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2021-04-14 13:47:14 -0400
committerGitHub <noreply@github.com>2021-04-14 13:47:14 -0400
commit7fc8e11c378e2f6268ce99a27660aab2aa54c1d8 (patch)
tree3c96f1c7d2d4de0137042bb1d85f2cd250064f6a /tools/slang-cpp-extractor/slang-cpp-extractor-diagnostic-defs.h
parent97f302eef584ac5c85baff74d8f453d0067705ae (diff)
C++ Extractor reorganize (#1793)
* #include an absolute path didn't work - because paths were taken to always be relative. * Refactor out ClassLikeNode * WIP around ScopeNode. * Use push and popScope. * Small improvements around C++ extractor. * Adding dynamic casting support. * Made Field another Node type. * Disable command line dumping by default. * Removed comment. * Fix shadowed variable bug found on linux.
Diffstat (limited to 'tools/slang-cpp-extractor/slang-cpp-extractor-diagnostic-defs.h')
-rw-r--r--tools/slang-cpp-extractor/slang-cpp-extractor-diagnostic-defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/slang-cpp-extractor/slang-cpp-extractor-diagnostic-defs.h b/tools/slang-cpp-extractor/slang-cpp-extractor-diagnostic-defs.h
index 3ab133414..284e02d19 100644
--- a/tools/slang-cpp-extractor/slang-cpp-extractor-diagnostic-defs.h
+++ b/tools/slang-cpp-extractor/slang-cpp-extractor-diagnostic-defs.h
@@ -20,6 +20,7 @@
DIAGNOSTIC(-1, Note, seeDeclarationOf, "see declaration of '$0'")
DIAGNOSTIC(-1, Note, seeOpen, "see open $0")
+DIAGNOSTIC(-1, Note, commandLine, "Command line: $0")
DIAGNOSTIC(1, Error, cannotOpenFile, "cannot open file '$0'.")