diff options
author | Ed Schouten <ed@nuxi.nl> | 2015-03-26 14:33:46 +0000 |
---|---|---|
committer | Ed Schouten <ed@nuxi.nl> | 2015-03-26 14:33:46 +0000 |
commit | 4d5142937f0436fed3ae38f96b36ae8bd399ab85 (patch) | |
tree | cf30a053eedb0468210dc25dae5fd73262cfbfcf /libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcout.pass.cpp | |
parent | 7754d21ae09485fca116e15afeb9d1b6d71962f2 (diff) | |
download | bcm5719-llvm-4d5142937f0436fed3ae38f96b36ae8bd399ab85.tar.gz bcm5719-llvm-4d5142937f0436fed3ae38f96b36ae8bd399ab85.zip |
Remove the state_types array.
If we want to add support for making std::cin and std::cout optional, it
is impractical to have all of the mbstate_t objects in one array. This
would mean that if std::cin and std::cout are omitted, the state_types
array is only used partially.
Solve this by using separate global variables. These are placed right
next to the iostream object and the buffer, meaning we can easily #ifdef
them away.
Differential Revision: http://reviews.llvm.org/D8359
llvm-svn: 233274
Diffstat (limited to 'libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcout.pass.cpp')
0 files changed, 0 insertions, 0 deletions