diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-04-04 19:44:10 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-04-04 19:44:10 +0000 |
commit | ea65cb191c33e3da13c6c18f0eea442894389940 (patch) | |
tree | 3bb626256537720afa685b23b4df1b14f48e7959 /lib | |
parent | abfc9c160ad65e890b66480f3c52e9b5ef7bf4d8 (diff) |
Remove the unused MemoryBuffers, no functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Frontend/CompilerInstance.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp index fce3d33780..df06a816e8 100644 --- a/lib/Frontend/CompilerInstance.cpp +++ b/lib/Frontend/CompilerInstance.cpp @@ -931,10 +931,6 @@ static void checkConfigMacro(Preprocessor &PP, StringRef ConfigMacro, if (FID.isInvalid()) continue; - const llvm::MemoryBuffer *Buffer = SourceMgr.getBuffer(FID); - if (!Buffer) - continue; - // We only care about the predefines buffer. if (FID != PP.getPredefinesFileID()) continue; @@ -964,10 +960,6 @@ static void checkConfigMacro(Preprocessor &PP, StringRef ConfigMacro, if (FID.isInvalid()) continue; - const llvm::MemoryBuffer *Buffer = SourceMgr.getBuffer(FID); - if (!Buffer) - continue; - // We only care about the predefines buffer. if (FID != PP.getPredefinesFileID()) continue; |