[modules] Add support for #include_next.#include_next interacts poorly with modules: it depends on where in the list ofinclude paths the current file was found. Files covered by module maps are no
[modules] Add support for #include_next.#include_next interacts poorly with modules: it depends on where in the list ofinclude paths the current file was found. Files covered by module maps are notfound in include search paths when building the module (and are not found ininclude search paths when @importing the module either), so this isn't reallymeaningful. Instead, we fake up the result that #include_next *should* havegiven: find the first path that would have resulted in the given file beingpicked, and search from there onwards.llvm-svn: 220177
show more ...