[cfe-commits] r61786 - /cfe/trunk/Driver/CacheTokens.cpp
Chris Lattner
sabre at nondot.org
Mon Jan 5 20:47:21 PST 2009
Author: lattner
Date: Mon Jan 5 22:47:20 2009
New Revision: 61786
URL: http://llvm.org/viewvc/llvm-project?rev=61786&view=rev
Log:
use getBuffer() to fix compile error. Ted, please review.
Modified:
cfe/trunk/Driver/CacheTokens.cpp
Modified: cfe/trunk/Driver/CacheTokens.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/CacheTokens.cpp?rev=61786&r1=61785&r2=61786&view=diff
==============================================================================
--- cfe/trunk/Driver/CacheTokens.cpp (original)
+++ cfe/trunk/Driver/CacheTokens.cpp Mon Jan 5 22:47:20 2009
@@ -347,7 +347,7 @@
PCHMap::iterator PI = PM.find(FE); // Have we already processed this file?
if (PI != PM.end()) continue;
- const llvm::MemoryBuffer* B = C->Buffer;
+ const llvm::MemoryBuffer* B = C->getBuffer();
if (!B) continue;
Lexer L(SourceLocation::getFileLoc(I.getFileID(), 0), LOpts,
More information about the cfe-commits
mailing list