]> granicus.if.org Git - clang/commit
If a module map is found in a relative -I path, convert the filenames within it
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 11 Mar 2014 02:02:47 +0000 (02:02 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 11 Mar 2014 02:02:47 +0000 (02:02 +0000)
commitc6c3e3d0b12fd269050f0d4fac5076ed1d9ed281
treecb63f8ff0e003972e8acf856de11aecd410cbb15
parentde27913a89db2d4d4e74178c3b94b650b2085e08
If a module map is found in a relative -I path, convert the filenames within it
to absolute paths when building the includes file for the module. Without this,
the module build would fail, because the relative paths we were using are not
necessarily relative to a directory in our include path.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203528 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticFrontendKinds.td
lib/Frontend/FrontendActions.cpp
test/Modules/Inputs/include-relative/a.h [new file with mode: 0644]
test/Modules/Inputs/include-relative/module.map [new file with mode: 0644]
test/Modules/include-relative.c [new file with mode: 0644]