chromium/third_party/blink/renderer/platform/wtf/text/string_concatenate.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/renderer/platform/wtf/text/string_concatenate.h"

#include "base/numerics/safe_conversions.h"
#include "third_party/blink/renderer/platform/wtf/text/string_impl.h"

WTF::StringTypeAdapter<char*>::StringTypeAdapter(char* buffer, size_t length)
    :{}

void WTF::StringTypeAdapter<char*>::WriteTo(LChar* destination) const {}

void WTF::StringTypeAdapter<char*>::WriteTo(UChar* destination) const {}

WTF::StringTypeAdapter<LChar*>::StringTypeAdapter(LChar* buffer)
    :{}

void WTF::StringTypeAdapter<LChar*>::WriteTo(LChar* destination) const {}

void WTF::StringTypeAdapter<LChar*>::WriteTo(UChar* destination) const {}

WTF::StringTypeAdapter<const UChar*>::StringTypeAdapter(const UChar* buffer)
    :{}

void WTF::StringTypeAdapter<const UChar*>::WriteTo(UChar* destination) const {}

WTF::StringTypeAdapter<const char*>::StringTypeAdapter(const char* buffer)
    :{}

void WTF::StringTypeAdapter<const char*>::WriteTo(LChar* destination) const {}

void WTF::StringTypeAdapter<const char*>::WriteTo(UChar* destination) const {}

WTF::StringTypeAdapter<const LChar*>::StringTypeAdapter(const LChar* buffer)
    :{}

void WTF::StringTypeAdapter<const LChar*>::WriteTo(LChar* destination) const {}

void WTF::StringTypeAdapter<const LChar*>::WriteTo(UChar* destination) const {}

void WTF::StringTypeAdapter<StringView>::WriteTo(LChar* destination) const {}

void WTF::StringTypeAdapter<StringView>::WriteTo(UChar* destination) const {}