reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/llvm-rc/ResourceFileWriter.cpp
  173     Result.swap(Chars);
  176   Result.reserve(Chars.size());
  179   auto AddRes = [&Result, NullHandler, IsLongString](UTF16 Char) -> Error {
  190     Result.push_back(Char);
  342     for (size_t Pos = 0; Pos < Result.size(); ++Pos)
  343       if (Result[Pos] == '\0')
  344         Result.resize(Pos);
  348     for (size_t Pos = 0; Pos + 1 < Result.size(); ++Pos)
  349       if (Result[Pos] == '\0' && Result[Pos + 1] == '\0')
  349       if (Result[Pos] == '\0' && Result[Pos + 1] == '\0')
  350         Result.resize(Pos);
  351     if (Result.size() > 0 && Result.back() == '\0')
  351     if (Result.size() > 0 && Result.back() == '\0')
  352       Result.pop_back();