This source file includes following definitions.
- AppendStringPiece
 
#ifndef TOOLS_GN_STRING_UTILS_H_
#define TOOLS_GN_STRING_UTILS_H_
#include "base/strings/string_piece.h"
class Err;
class Scope;
class Token;
class Value;
inline std::string operator+(const std::string& a, const base::StringPiece& b) {
  std::string ret;
  ret.reserve(a.size() + b.size());
  ret.assign(a);
  ret.append(b.data(), b.size());
  return ret;
}
inline std::string operator+(const base::StringPiece& a, const std::string& b) {
  std::string ret;
  ret.reserve(a.size() + b.size());
  ret.assign(a.data(), a.size());
  ret.append(b);
  return ret;
}
bool ExpandStringLiteral(Scope* scope,
                         const Token& literal,
                         Value* result,
                         Err* err);
std::string RemovePrefix(const std::string& str, const std::string& prefix);
inline void AppendStringPiece(std::string* dest,
                              const base::StringPiece& piece) {
  dest->append(piece.data(), piece.size());
}
#endif