Update LOCAL_PATCHES after libsanitizer merge.
[official-gcc.git] / gcc / cp / cp-name-hint.h
blob5d1cdc38ff9e84b97f872d7d9dd3a691491637f6
1 /* Declarations for working with name_hint instances in the C++ frontend.
2 Copyright (C) 2018 Free Software Foundation, Inc.
3 Contributed by David Malcolm <dmalcolm@redhat.com>
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3, or (at your option)
10 any later version.
12 GCC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */
21 #ifndef GCC_CP_NAME_HINT_H
22 #define GCC_CP_NAME_HINT_H
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.
28 This header (cp/cp-name-hint.h) exists to limit the C++ frontend's
29 exposure to the issue. */
31 #include "c-family/name-hint.h"
33 extern name_hint suggest_alternatives_for (location_t, tree, bool);
34 extern name_hint suggest_alternatives_in_other_namespaces (location_t, tree);
35 extern name_hint suggest_alternative_in_explicit_scope (location_t, tree, tree);
37 #endif /* GCC_CP_NAME_HINT_H */