summaryrefslogtreecommitdiff
path: root/gcc/analyzer/analyzer.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2020-10-28 20:09:04 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2020-10-28 20:09:04 -0400
commite9751143e237b507a81234a573a200ea45e7111a (patch)
tree67c5ae2a3112bd02c8b4aa98f8287251481a3e3a /gcc/analyzer/analyzer.h
parent0a36f5f21cd9dcaaf99e78d2ec995d6cb2918274 (diff)
downloadgcc-e9751143e237b507a81234a573a200ea45e7111a.tar.gz
analyzer: move svalue and region decls to their own header files
gcc/ChangeLog: * Makefile.in (ANALYZER_OBJS): Add analyzer/complexity.o. gcc/analyzer/ChangeLog: * analyzer.h (class state_machine): New forward decl. (class logger): Likewise. (class visitor): Likewise. * complexity.cc: New file, taken from svalue.cc. * complexity.h: New file, taken from region-model.h. * region-model.h: Include "analyzer/svalue.h" and "analyzer/region.h". Move struct complexity to complexity.h. Move svalue, its subclasses and supporting decls to svalue.h. Move region, its subclasses and supporting decls to region.h. * region.cc: Include "analyzer/region.h". (symbolic_region::symbolic_region): Move here from region-model.h. * region.h: New file, based on material from region-model.h. * svalue.cc: Include "analyzer/svalue.h". (complexity::complexity): Move to complexity.cc. (complexity::from_pair): Likewise. * svalue.h: New file, based on material from region-model.h.
Diffstat (limited to 'gcc/analyzer/analyzer.h')
-rw-r--r--gcc/analyzer/analyzer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/analyzer/analyzer.h b/gcc/analyzer/analyzer.h
index aa43b7f66a9..c84d7fdcaab 100644
--- a/gcc/analyzer/analyzer.h
+++ b/gcc/analyzer/analyzer.h
@@ -97,6 +97,9 @@ class state_change;
class rewind_info_t;
class engine;
+class state_machine;
+class logger;
+class visitor;
/* Forward decls of functions. */