forked from OSchip/llvm-project
use getBuffer() to fix compile error. Ted, please review.
llvm-svn: 61786
This commit is contained in:
parent
6ad9b39a09
commit
c7594438c7
|
@ -347,7 +347,7 @@ void clang::CacheTokens(Preprocessor& PP, const std::string& OutFile) {
|
|||
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,
|
||||
|
|
Loading…
Reference in New Issue