]> granicus.if.org Git - clang/commit
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)
commitc45bb9c80cfa1d427aa866655e621646b08e99ab
tree2e89be2df3325857c46c60caa5c49c5bea03177b
parent57963edce2fb3c3e259d571e9d208302698d5203
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.

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