summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PTHLexer.cpp
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-02-20 05:24:58 +0000
committerJuergen Ributzka <juergen@apple.com>2014-02-20 05:24:58 +0000
commita32575e4f65a4f86f55bfefe9144c70866980c10 (patch)
tree371381616925c1fadf3af9d4bf4cc06a4e429d49 /clang/lib/Lex/PTHLexer.cpp
parentb9e44d6bcf31125b638c8b2eb8aa021fb94b6ed7 (diff)
downloadbcm5719-llvm-a32575e4f65a4f86f55bfefe9144c70866980c10.tar.gz
bcm5719-llvm-a32575e4f65a4f86f55bfefe9144c70866980c10.zip
Reverting the virtual file system implementation, because it triggers an assertion
in our internal build bots. This reverts commits 201618, 201635, 201636, 201639, 201685, 201691, and 201696. llvm-svn: 201755
Diffstat (limited to 'clang/lib/Lex/PTHLexer.cpp')
-rw-r--r--clang/lib/Lex/PTHLexer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Lex/PTHLexer.cpp b/clang/lib/Lex/PTHLexer.cpp
index cdc5d7e3381..e174222ece3 100644
--- a/clang/lib/Lex/PTHLexer.cpp
+++ b/clang/lib/Lex/PTHLexer.cpp
@@ -675,13 +675,13 @@ public:
~PTHStatCache() {}
LookupResult getStat(const char *Path, FileData &Data, bool isFile,
- vfs::File **F, vfs::FileSystem &FS) {
+ int *FileDescriptor) {
// Do the lookup for the file's data in the PTH file.
CacheTy::iterator I = Cache.find(Path);
// If we don't get a hit in the PTH file just forward to 'stat'.
if (I == Cache.end())
- return statChained(Path, Data, isFile, F, FS);
+ return statChained(Path, Data, isFile, FileDescriptor);
const PTHStatData &D = *I;
OpenPOWER on IntegriCloud