]> granicus.if.org Git - clang/commit
[driver] Pass a resource dir without the '/../' part.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 25 Feb 2017 18:14:35 +0000 (18:14 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 25 Feb 2017 18:14:35 +0000 (18:14 +0000)
commitf94b622d130121f250e5a1690569c1d2819e3f38
tree1d8a099cfbb295029d9da522f1bb1513d431434f
parent8c2386d934711d59ff97883db11cdc078d0831c7
[driver] Pass a resource dir without the '/../' part.

This get the resource dir string to match with the one from libclang (which is not adding '/../'),
and allows clang to accept a modules-enabled PCH that was created by libclang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296262 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Driver.cpp
test/Index/pch-from-libclang.c [new file with mode: 0644]