commit | 27ffa6caf965ef20fdef5ae23b81cdc3d05e7afb | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Oct 23 06:18:24 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Oct 23 06:18:24 2012 +0000 |
tree | 33fb976c8d68d2007e18cc34f98e6caaf2df927d | |
parent | 84c3b9745f813a784b5d8ce77f2785750523d9eb [diff] |
If the precompiled header named by "-include" is actually a directory, check each of the files within that directory to determine if any of them is an AST file that matches the language and target options. If so, the first matching AST file is loaded. This fixes a longstanding discrepency with GCC's precompiled header implementation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166469 91177308-0d34-0410-b5e6-96231b3b80d8