1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

Fix -Wmismatched-tags warning/error

llvm-svn: 257924
This commit is contained in:
Xinliang David Li 2016-01-15 19:22:41 +00:00
parent a60f1430f3
commit 1288af72cd

View File

@ -31,8 +31,9 @@ struct PatchItem {
namespace llvm {
// A wrapper class to abstract writer stream with support of bytes
// back patching.
struct ProfOStream {
class ProfOStream {
public:
ProfOStream(llvm::raw_fd_ostream &FD) : IsFDOStream(true), OS(FD), LE(FD) {}
ProfOStream(llvm::raw_string_ostream &STR)
: IsFDOStream(false), OS(STR), LE(STR) {}