GCC Middle and Back End API Reference
tree-logical-location.cc File Reference
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tree.h"
#include "pretty-print.h"
#include "tree-logical-location.h"
#include "langhooks.h"
#include "intl.h"
Include dependency graph for tree-logical-location.cc:

Functions

static void assert_valid_tree (const_tree node)

Function Documentation

◆ assert_valid_tree()

void assert_valid_tree ( const_tree node)
static
Subclass of logical_location_manager with knowledge of "tree".
   Copyright (C) 2022-2025 Free Software Foundation, Inc.
   Contributed by David Malcolm <dmalcolm@redhat.com>.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   

References DECL_P, gcc_assert, TREE_CODE, and TYPE_P.

Referenced by tree_logical_location_manager::get_internal_name(), tree_logical_location_manager::get_kind(), tree_logical_location_manager::get_name_for_path_output(), tree_logical_location_manager::get_name_with_scope(), tree_logical_location_manager::get_parent(), and tree_logical_location_manager::get_short_name().