tinycc-devel
[Top][All Lists]
Advanced

[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) {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]