[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] #include_next troubles
From: |
Sergey Korshunoff |
Subject: |
Re: [Tinycc-devel] #include_next troubles |
Date: |
Tue, 20 Oct 2015 18:35:52 +0300 |
> You could refer to GCC's source and test suite
>From the clang code:
...
// If this is a system #include, ignore the user #include locs.
unsigned i = isAngled ? SystemDirIdx : 0;
...
// If this is a #include_next request, start searching after the directory the
// file was found in.
if (FromDir)
i = FromDir-&SearchDirs[0];
...
// Check each directory in sequence to see if it contains this file.
for (; i != SearchDirs.size(); ++i) {
- Re: [Tinycc-devel] #include_next troubles, Sergey Korshunoff, 2015/10/17
- Re: [Tinycc-devel] #include_next troubles, Assaf Gordon, 2015/10/18
- Re: [Tinycc-devel] #include_next troubles, Sergey Korshunoff, 2015/10/19
- Re: [Tinycc-devel] #include_next troubles, Sergey Korshunoff, 2015/10/20
- Re: [Tinycc-devel] #include_next troubles, Sergey Korshunoff, 2015/10/20
- Re: [Tinycc-devel] #include_next troubles, grischka, 2015/10/20
- Re: [Tinycc-devel] #include_next troubles, Sergey Korshunoff, 2015/10/20
- Re: [Tinycc-devel] #include_next troubles, Edmund Grimley Evans, 2015/10/20
- Re: [Tinycc-devel] #include_next troubles,
Sergey Korshunoff <=
- Re: [Tinycc-devel] #include_next troubles, grischka, 2015/10/20
- Re: [Tinycc-devel] #include_next troubles, Edmund Grimley Evans, 2015/10/21
- Re: [Tinycc-devel] #include_next troubles, Sergey Korshunoff, 2015/10/21
- Re: [Tinycc-devel] #include_next troubles, Sergey Korshunoff, 2015/10/22