aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-warn-recursion.cc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2022-03-17 10:21:32 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2022-03-17 10:21:32 +0100
commit14b99bed0801da460db998f8ec65f31e992f0e52 (patch)
tree1a5c899063a5e769e76d278d44aa3c2ef9006c4c /gcc/gimple-warn-recursion.cc
parent2dfc19647774cb26a0f735bda8006068a40cfba0 (diff)
downloadgcc-14b99bed0801da460db998f8ec65f31e992f0e52.zip
gcc-14b99bed0801da460db998f8ec65f31e992f0e52.tar.gz
gcc-14b99bed0801da460db998f8ec65f31e992f0e52.tar.bz2
ast: Add base Node class with get_ast_kind() function
This adds a new base class common to all abstract base classes of the AST: We can use it to store information shared by all nodes, such as the newly introduced `AST::Kind` which helps in differentiating nodes. We could also consider using it to store location info, since all AST nodes probably need it.
Diffstat (limited to 'gcc/gimple-warn-recursion.cc')
0 files changed, 0 insertions, 0 deletions