diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-07-04 12:19:56 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-07-04 12:19:56 +0000 |
commit | 954da37bb492b519f5c31dc360f2a142567e08b4 (patch) | |
tree | 09912ebacd5f394d55b9ea5e929b12e0c185fa09 /lib/Target/CBackend/CBackend.cpp | |
parent | 8ce1da781ef6b5f927e07c51d71c738eeb4a8be3 (diff) |
Add #include <iostream> since Value.h does not #include it any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CBackend/CBackend.cpp')
-rw-r--r-- | lib/Target/CBackend/CBackend.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index adda86d64e..1f6b900597 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -35,6 +35,7 @@ #include "Support/StringExtras.h" #include "Config/config.h" #include <algorithm> +#include <iostream> #include <sstream> using namespace llvm; @@ -222,7 +223,7 @@ bool CBackendNameAllUsedStructs::run(Module &M) { for (SymbolTable::type_iterator TI = MST.type_begin(), TE = MST.type_end(); TI != TE; ) { SymbolTable::type_iterator I = TI++; - if (StructType *STy = dyn_cast<StructType>(I->second)) { + if (const StructType *STy = dyn_cast<StructType>(I->second)) { // If this is not used, remove it from the symbol table. std::set<const Type *>::iterator UTI = UT.find(STy); if (UTI == UT.end()) |