//===-- StringSaver.cpp ---------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "llvm/Support/StringSaver.h" #include "llvm/ADT/SmallString.h" usingnamespacellvm; StringRef StringSaver::save(StringRef S) { … } StringRef StringSaver::save(const Twine &S) { … } StringRef UniqueStringSaver::save(StringRef S) { … } StringRef UniqueStringSaver::save(const Twine &S) { … }