blob: 93dad1b4afda70416531e412e748748f214b3e09 [file] [log] [blame]
Olli Etuaho12c03762018-01-25 12:22:33 +02001//
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
12std::ostream &operator<<(std::ostream &os, const sh::ImmutableString &str)
13{
14 return os.write(str.data(), str.length());
15}