Remove the unused MemoryBuffers, no functionality change.

llvm-svn: 178780
This commit is contained in:
Argyrios Kyrtzidis 2013-04-04 19:44:10 +00:00
parent 6daabe3716
commit 3446ee03e2
1 changed files with 0 additions and 8 deletions

View File

@ -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;