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 | 3446ee03e28f59d10e63dc213d5de5d1a8cec9aa (patch) | |
tree | 3c345d4e920d4ec4a29a6a4c422755bd73d32966 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 6daabe371623dd010886dc1c3bb9d8ed1b5b3a6d (diff) | |
download | bcm5719-llvm-3446ee03e28f59d10e63dc213d5de5d1a8cec9aa.tar.gz bcm5719-llvm-3446ee03e28f59d10e63dc213d5de5d1a8cec9aa.zip |
Remove the unused MemoryBuffers, no functionality change.
llvm-svn: 178780
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInstance.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index fce3d33780b..df06a816e84 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/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; |