Merge remote-tracking branch 'origin/master' into master-next

This commit is contained in:
Bob Wilson
2016-10-17 11:52:21 -07:00
222 changed files with 4965 additions and 4290 deletions

View File

@@ -82,7 +82,7 @@ bool SourceManager::openVirtualFile(SourceLoc loc, StringRef name,
CharSourceRange range = CharSourceRange(*this, loc, end);
VirtualFiles[end.Value.getPointer()] = { range, name, lineOffset };
CachedVFile = {};
CachedVFile = {nullptr, nullptr};
return true;
}
@@ -99,7 +99,7 @@ void SourceManager::closeVirtualFile(SourceLoc end) {
#endif
return;
}
CachedVFile = {};
CachedVFile = {nullptr, nullptr};
CharSourceRange oldRange = virtualFile->Range;
virtualFile->Range = CharSourceRange(*this, virtualFile->Range.getStart(),