Internals: Add AstNodeStmt.h (#6295)
Move AstNodeStmt and all its subtypes into AstNodeStmt.h. This is the first step for #6280. No functional change
This commit is contained in:
parent
6f69c990fd
commit
a300bfc538
|
|
@ -48,6 +48,7 @@ set(HEADERS
|
|||
V3AstNodeDType.h
|
||||
V3AstNodeExpr.h
|
||||
V3AstNodeOther.h
|
||||
V3AstNodeStmt.h
|
||||
V3AstUserAllocator.h
|
||||
V3Begin.h
|
||||
V3Branch.h
|
||||
|
|
@ -372,8 +373,8 @@ add_custom_command(
|
|||
COMMAND ${PYTHON3}
|
||||
ARGS
|
||||
${ASTGEN} -I "${srcdir}" --astdef V3AstNodeDType.h --astdef
|
||||
V3AstNodeExpr.h --astdef V3AstNodeOther.h --dfgdef V3DfgVertices.h
|
||||
--classes
|
||||
V3AstNodeExpr.h --astdef V3AstNodeOther.h --astdef V3AstNodeStmt.h
|
||||
--dfgdef V3DfgVertices.h --classes
|
||||
)
|
||||
list(
|
||||
APPEND
|
||||
|
|
@ -485,8 +486,8 @@ foreach(astgen_name ${ASTGENERATED_NAMES})
|
|||
COMMAND ${PYTHON3}
|
||||
ARGS
|
||||
${ASTGEN} -I "${srcdir}" --astdef V3AstNodeDType.h --astdef
|
||||
V3AstNodeExpr.h --astdef V3AstNodeOther.h --dfgdef V3DfgVertices.h
|
||||
${astgen_name}.cpp
|
||||
V3AstNodeExpr.h --astdef V3AstNodeOther.h --astdef V3AstNodeStmt.h
|
||||
--dfgdef V3DfgVertices.h ${astgen_name}.cpp
|
||||
)
|
||||
list(APPEND GENERATED_FILES ${astgen_name}__gen.cpp)
|
||||
endforeach()
|
||||
|
|
|
|||
|
|
@ -331,6 +331,7 @@ NON_STANDALONE_HEADERS = \
|
|||
V3AstNodeDType.h \
|
||||
V3AstNodeExpr.h \
|
||||
V3AstNodeOther.h \
|
||||
V3AstNodeStmt.h \
|
||||
V3DfgVertices.h \
|
||||
V3ThreadPool.h \
|
||||
V3WidthRemove.h \
|
||||
|
|
@ -339,6 +340,7 @@ AST_DEFS := \
|
|||
V3AstNodeDType.h \
|
||||
V3AstNodeExpr.h \
|
||||
V3AstNodeOther.h \
|
||||
V3AstNodeStmt.h \
|
||||
|
||||
DFG_DEFS := \
|
||||
V3DfgVertices.h
|
||||
|
|
|
|||
|
|
@ -3153,6 +3153,7 @@ AstNode* VNVisitor::iterateSubtreeReturnEdits(AstNode* nodep) {
|
|||
#include "V3AstNodeDType.h"
|
||||
#include "V3AstNodeExpr.h"
|
||||
#include "V3AstNodeOther.h"
|
||||
#include "V3AstNodeStmt.h"
|
||||
|
||||
// Inline function definitions need to go last
|
||||
#include "V3AstInlines.h"
|
||||
|
|
|
|||
1387
src/V3AstNodeOther.h
1387
src/V3AstNodeOther.h
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue