diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 21:41:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 21:41:43 +0000 |
commit | e0c86afac63a2dbbcff0ad79ed7b93d860451385 (patch) | |
tree | 8ba402a9b827bd77895c515e31c4ae17c5ef9346 /include | |
parent | b683ea4712836e22b98d24bf8e40e599224d024e (diff) | |
download | external_llvm-e0c86afac63a2dbbcff0ad79ed7b93d860451385.zip external_llvm-e0c86afac63a2dbbcff0ad79ed7b93d860451385.tar.gz external_llvm-e0c86afac63a2dbbcff0ad79ed7b93d860451385.tar.bz2 |
Switch SubtargetFeature off of ostreams
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79864 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/SubtargetFeature.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/llvm/Target/SubtargetFeature.h b/include/llvm/Target/SubtargetFeature.h index 5cfdc02..58333e2 100644 --- a/include/llvm/Target/SubtargetFeature.h +++ b/include/llvm/Target/SubtargetFeature.h @@ -20,12 +20,12 @@ #include <string> #include <vector> -#include <iosfwd> #include <cstring> #include "llvm/Support/DataTypes.h" namespace llvm { - + class raw_ostream; + //===----------------------------------------------------------------------===// /// /// SubtargetFeatureKV - Used to provide key value pairs for feature and @@ -102,8 +102,7 @@ public: void *getInfo(const SubtargetInfoKV *Table, size_t TableSize); /// Print feature string. - void print(std::ostream &OS) const; - void print(std::ostream *OS) const { if (OS) print(*OS); } + void print(raw_ostream &OS) const; // Dump feature info. void dump() const; |