Stop sharing the FileManager in ASTUnit::Parse
authorBen Langmuir <blangmuir@apple.com>
Mon, 23 Jun 2014 16:36:40 +0000 (16:36 +0000)
committerBen Langmuir <blangmuir@apple.com>
Mon, 23 Jun 2014 16:36:40 +0000 (16:36 +0000)
commit2cc485b6a91fbcf91814705e6433ff4a880aa5d6
tree5fffaf4e4c7af77163899bb4efd28cb8840b2bd6
parentd35f2b902b8b54e4c9a35ff91c84d234f4a66533
Stop sharing the FileManager in ASTUnit::Parse

We were using old stat values for any files that had previously been
looked up, leading to badness. There might be a more elegant solution in
invalidating the cache for those file (since we already know which ones
they are), but it seems too likely there are existing references to
them hiding somewhere.

llvm-svn: 211504
clang/lib/Frontend/ASTUnit.cpp