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

References

lib/LineEditor/LineEditor.cpp
  259   const char *Line = ::el_gets(Data->EL, &LineLen);
  262   if (!Line || LineLen == 0)
  266   while (LineLen > 0 &&
  267          (Line[LineLen - 1] == '\n' || Line[LineLen - 1] == '\r'))
  267          (Line[LineLen - 1] == '\n' || Line[LineLen - 1] == '\r'))
  268     --LineLen;
  271   if (LineLen > 0)
  274   return std::string(Line, LineLen);