r178780 - Remove the unused MemoryBuffers, no functionality change.
Argyrios Kyrtzidis
akyrtzi at gmail.com
Thu Apr 4 12:44:11 PDT 2013
Author: akirtzidis
Date: Thu Apr 4 14:44:10 2013
New Revision: 178780
URL: http://llvm.org/viewvc/llvm-project?rev=178780&view=rev
Log:
Remove the unused MemoryBuffers, no functionality change.
Modified:
cfe/trunk/lib/Frontend/CompilerInstance.cpp
Modified: cfe/trunk/lib/Frontend/CompilerInstance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInstance.cpp?rev=178780&r1=178779&r2=178780&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInstance.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInstance.cpp Thu Apr 4 14:44:10 2013
@@ -931,10 +931,6 @@ static void checkConfigMacro(Preprocesso
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(Preprocesso
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;
More information about the cfe-commits
mailing list