Olli Etuaho | 12c0376 | 2018-01-25 12:22:33 +0200 | [diff] [blame] | 1 | // |
| 2 | // Copyright (c) 2018 The ANGLE Project Authors. All rights reserved. |
| 3 | // Use of this source code is governed by a BSD-style license that can be |
| 4 | // found in the LICENSE file. |
| 5 | // |
| 6 | // ImmutableString.cpp: Wrapper for static or pool allocated char arrays, that are guaranteed to be |
| 7 | // valid and unchanged for the duration of the compilation. |
| 8 | // |
| 9 | |
| 10 | #include "compiler/translator/ImmutableString.h" |
| 11 | |
| 12 | std::ostream &operator<<(std::ostream &os, const sh::ImmutableString &str) |
| 13 | { |
| 14 | return os.write(str.data(), str.length()); |
| 15 | } |