diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-12-07 22:21:48 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-12-07 22:21:48 +0000 |
commit | f5da13367f88f06e3b585dc2263ab6e9ca6c4bf8 (patch) | |
tree | 3cf9a9612ba0a90fee9ec668819ae5a69a7bada1 /utils/TableGen/FileParser.y.cvs | |
parent | 6e49d8b4bf7b5911dc953551672161b8f9a7418f (diff) | |
download | external_llvm-f5da13367f88f06e3b585dc2263ab6e9ca6c4bf8.tar.gz external_llvm-f5da13367f88f06e3b585dc2263ab6e9ca6c4bf8.tar.bz2 external_llvm-f5da13367f88f06e3b585dc2263ab6e9ca6c4bf8.zip |
What should be the last unnecessary <iostream>s in the library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32333 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/FileParser.y.cvs')
-rw-r--r-- | utils/TableGen/FileParser.y.cvs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/TableGen/FileParser.y.cvs b/utils/TableGen/FileParser.y.cvs index 8e564564bd..2732680d2f 100644 --- a/utils/TableGen/FileParser.y.cvs +++ b/utils/TableGen/FileParser.y.cvs @@ -14,6 +14,7 @@ %{ #include "Record.h" #include "llvm/ADT/StringExtras.h" +#include "llvm/Support/Streams.h" #include <algorithm> #include <cstdio> #define YYERROR_VERBOSE 1 @@ -124,7 +125,7 @@ static void setValue(const std::string &ValName, } // We should have a BitsInit type now... - assert(dynamic_cast<BitsInit*>(BI) != 0 || &(std::cerr << *BI) == 0); + assert(dynamic_cast<BitsInit*>(BI) != 0 || (cerr << *BI).stream() == 0); BitsInit *BInit = (BitsInit*)BI; BitsInit *NewVal = new BitsInit(CurVal->getNumBits()); |