Go to the source code of this file.
Functions |
void | split_quote_chain (void) |
void | add_path (char *, int, int, bool) |
void | register_include_chains (cpp_reader *, const char *, const char *, const char *, int, int, int) |
void | add_cpp_dir_path (struct cpp_dir *, int) |
struct cpp_dir * | get_added_cpp_dirs (int) |
Enumeration Type Documentation
- Enumerator:
QUOTE |
|
BRACKET |
|
SYSTEM |
|
AFTER |
|
Function Documentation
void add_cpp_dir_path |
( |
struct cpp_dir * |
, |
|
|
int |
|
|
) |
| |
void add_path |
( |
char * |
, |
|
|
int |
, |
|
|
int |
, |
|
|
bool |
|
|
) |
| |
struct cpp_dir* get_added_cpp_dirs |
( |
int |
| ) |
|
|
read |
void register_include_chains |
( |
cpp_reader * |
pfile, |
|
|
const char * |
sysroot, |
|
|
const char * |
iprefix, |
|
|
const char * |
imultilib, |
|
|
int |
stdinc, |
|
|
int |
cxx_stdinc, |
|
|
int |
verbose |
|
) |
| |
Exported function to handle include chain merging, duplicate
removal, and registration with cpplib.
References add_env_var_paths(), add_standard_paths(), BRACKET, cpp_options, target_c_incpath_s::extra_includes, target_c_incpath_s::extra_pre_includes, heads, merge_include_chains(), QUOTE, quote_ignores_source_dir, SYSTEM, and target_c_incpath.
void split_quote_chain |
( |
void |
| ) |
|
Set up combined include path for the preprocessor.
Copyright (C) 2003-2013 Free Software Foundation, Inc.
This program 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.
This program 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 this program; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>.
Use given -I paths for #include "..." but not #include <...>, and
don't search the directory of the present file for #include "...".
(Note that -I. -I- is not the same as the default setup; -I. uses
the compiler's working dir.)
References BRACKET, free_path(), heads, QUOTE, quote_ignores_source_dir, REASON_QUIET, and tails.
Variable Documentation