aboutsummaryrefslogtreecommitdiff
path: root/Driver/CacheTokens.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-06 04:47:20 +0000
committerChris Lattner <sabre@nondot.org>2009-01-06 04:47:20 +0000
commit1b230149be83b2ce789c2d05a571dab9d178bdd1 (patch)
treee10ceae9aafed7adc00af62859024416f6a42d88 /Driver/CacheTokens.cpp
parent5039f211dd55100a9112ec2924a12709cc74a11c (diff)
use getBuffer() to fix compile error. Ted, please review.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61786 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/CacheTokens.cpp')
-rw-r--r--Driver/CacheTokens.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/CacheTokens.cpp b/Driver/CacheTokens.cpp
index 180dbcc365..b12a59fc48 100644
--- a/Driver/CacheTokens.cpp
+++ b/Driver/CacheTokens.cpp
@@ -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,