]> granicus.if.org Git - clang/commit
Add another workaround for -include.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 22 Apr 2009 08:53:01 +0000 (08:53 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 22 Apr 2009 08:53:01 +0000 (08:53 +0000)
commit1e7c6b67879b41369d5e8ddadb8aa6cef9013910
tree0ce7ec7c370f80463be0c7cb77bb1ac7291d9499
parentae287239879386b9abf6da50a67bbb7fe81897f1
Add another workaround for -include.
 - If we don't find a file looking relative to the current working
   directory, fall back to header search. This is closer to what would
   happen if the lookup was starting from right directory in the first
   place (except it will find files in the directory of the main
   source file, which I *think* should not be found).

 - PR3992.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69794 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/InitPreprocessor.cpp