]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/incpath.h
In PR70010, a function is marked with target(no-vsx) to disable VSX code
[thirdparty/gcc.git] / gcc / incpath.h
CommitLineData
e69f4d0e 1/* Set up combined include path for the preprocessor.
fbd26352 2 Copyright (C) 2003-2019 Free Software Foundation, Inc.
e69f4d0e 3
8c4c00c1 4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License as published by the
6 Free Software Foundation; either version 3, or (at your option) any
7 later version.
e69f4d0e 8
8c4c00c1 9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
e69f4d0e 13
8c4c00c1 14 You should have received a copy of the GNU General Public License
15 along with this program; see the file COPYING3. If not see
16 <http://www.gnu.org/licenses/>. */
e69f4d0e 17
ce6bb0f3 18#ifndef GCC_INCPATH_H
19#define GCC_INCPATH_H
20
299a080a 21/* Various fragments of include path. */
22enum incpath_kind {
23 INC_QUOTE = 0, /* include "foo" */
24 INC_BRACKET, /* include <foo> */
25 INC_SYSTEM, /* sysinclude */
26 INC_AFTER, /* post-sysinclude. */
27 INC_MAX
28};
29
1cae46be 30extern void split_quote_chain (void);
299a080a 31extern void add_path (char *, incpath_kind, int, bool);
1cae46be 32extern void register_include_chains (cpp_reader *, const char *,
72779020 33 const char *, const char *,
34 int, int, int);
299a080a 35extern void add_cpp_dir_path (struct cpp_dir *, incpath_kind);
36extern struct cpp_dir *get_added_cpp_dirs (incpath_kind);
065e625b 37
38struct target_c_incpath_s {
39 /* Do extra includes processing. STDINC is false iff -nostdinc was given. */
2288041e 40 void (*extra_pre_includes) (const char *, const char *, int);
41 void (*extra_includes) (const char *, const char *, int);
065e625b 42};
43
44extern struct target_c_incpath_s target_c_incpath;
45
ce6bb0f3 46#endif /* GCC_INCPATH_H */