r221786 - Update for llvm api change.
Rafael Espindola
rafael.espindola at gmail.com
Wed Nov 12 06:48:44 PST 2014
Author: rafael
Date: Wed Nov 12 08:48:44 2014
New Revision: 221786
URL: http://llvm.org/viewvc/llvm-project?rev=221786&view=rev
Log:
Update for llvm api change.
Modified:
cfe/trunk/lib/Serialization/ASTReader.cpp
Modified: cfe/trunk/lib/Serialization/ASTReader.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTReader.cpp?rev=221786&r1=221785&r2=221786&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTReader.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTReader.cpp Wed Nov 12 08:48:44 2014
@@ -3833,7 +3833,7 @@ ASTReader::ReadASTCore(StringRef FileNam
ModuleFile &F = *M;
BitstreamCursor &Stream = F.Stream;
- Stream.init(F.StreamFile);
+ Stream.init(&F.StreamFile);
F.SizeInBits = F.Buffer->getBufferSize() * 8;
// Sniff for the signature.
More information about the cfe-commits
mailing list