forked from OSchip/llvm-project
Remove the unused MemoryBuffers, no functionality change.
llvm-svn: 178780
This commit is contained in:
parent
6daabe3716
commit
3446ee03e2
|
@ -931,10 +931,6 @@ static void checkConfigMacro(Preprocessor &PP, StringRef ConfigMacro,
|
||||||
if (FID.isInvalid())
|
if (FID.isInvalid())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
const llvm::MemoryBuffer *Buffer = SourceMgr.getBuffer(FID);
|
|
||||||
if (!Buffer)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
// We only care about the predefines buffer.
|
// We only care about the predefines buffer.
|
||||||
if (FID != PP.getPredefinesFileID())
|
if (FID != PP.getPredefinesFileID())
|
||||||
continue;
|
continue;
|
||||||
|
@ -964,10 +960,6 @@ static void checkConfigMacro(Preprocessor &PP, StringRef ConfigMacro,
|
||||||
if (FID.isInvalid())
|
if (FID.isInvalid())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
const llvm::MemoryBuffer *Buffer = SourceMgr.getBuffer(FID);
|
|
||||||
if (!Buffer)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
// We only care about the predefines buffer.
|
// We only care about the predefines buffer.
|
||||||
if (FID != PP.getPredefinesFileID())
|
if (FID != PP.getPredefinesFileID())
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue