// // Copyright 2018 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // ImmutableString.h: Wrapper for static or pool allocated char arrays, that are guaranteed to be // valid and unchanged for the duration of the compilation. // #ifndef COMPILER_TRANSLATOR_IMMUTABLESTRING_H_ #define COMPILER_TRANSLATOR_IMMUTABLESTRING_H_ #include <string> #include "common/string_utils.h" #include "common/utilities.h" #include "compiler/translator/Common.h" namespace sh { class ImmutableString { … }; constexpr ImmutableString kEmptyImmutableString(""); } // namespace sh std::ostream &operator<<(std::ostream &os, const sh::ImmutableString &str); #endif // COMPILER_TRANSLATOR_IMMUTABLESTRING_H_