1/* Declarations for working with name_hint instances in the C++ frontend.
2   Copyright (C) 2018-2022 Free Software Foundation, Inc.
3   Contributed by David Malcolm <dmalcolm@redhat.com>
4
5This file is part of GCC.
6
7GCC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 3, or (at your option)
10any later version.
11
12GCC is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GCC; see the file COPYING3.  If not see
19<http://www.gnu.org/licenses/>.  */
20
21#ifndef GCC_CP_NAME_HINT_H
22#define GCC_CP_NAME_HINT_H
23
24/* class name_hint is declared in c-family/name-hint.h, but due
25   to issues described in that header, we have to jump through some
26   #define hoops to be able to include it.
27
28   This header (cp/cp-name-hint.h) exists to limit the C++ frontend's
29   exposure to the issue.  */
30
31#include "c-family/name-hint.h"
32
33extern name_hint suggest_alternatives_for (location_t, tree, bool);
34extern name_hint suggest_alternatives_in_other_namespaces (location_t, tree);
35extern name_hint suggest_alternative_in_explicit_scope (location_t, tree, tree);
36extern name_hint suggest_alternative_in_scoped_enum (tree, tree);
37
38#endif /* GCC_CP_NAME_HINT_H */
39