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

Declarations

tools/lldb/include/lldb/Utility/Args.h
  311   static std::string EscapeLLDBCommandArgument(const std::string &arg,

References

tools/lldb/source/API/SBCommandInterpreter.cpp
  398           Args::EscapeLLDBCommandArgument(common_prefix, quote_char);
tools/lldb/unittests/Utility/ArgsTest.cpp
  222   EXPECT_EQ("foo\\'", Args::EscapeLLDBCommandArgument(foo, '\0'));
  223   EXPECT_EQ("foo'", Args::EscapeLLDBCommandArgument(foo, '\''));
  224   EXPECT_EQ("foo'", Args::EscapeLLDBCommandArgument(foo, '`'));
  225   EXPECT_EQ("foo'", Args::EscapeLLDBCommandArgument(foo, '"'));
  228   EXPECT_EQ("bar\\\"", Args::EscapeLLDBCommandArgument(bar, '\0'));
  229   EXPECT_EQ("bar\"", Args::EscapeLLDBCommandArgument(bar, '\''));
  230   EXPECT_EQ("bar\"", Args::EscapeLLDBCommandArgument(bar, '`'));
  231   EXPECT_EQ("bar\\\"", Args::EscapeLLDBCommandArgument(bar, '"'));
  234   EXPECT_EQ("baz\\`", Args::EscapeLLDBCommandArgument(baz, '\0'));
  235   EXPECT_EQ("baz`", Args::EscapeLLDBCommandArgument(baz, '\''));
  236   EXPECT_EQ("baz`", Args::EscapeLLDBCommandArgument(baz, '`'));
  237   EXPECT_EQ("baz\\`", Args::EscapeLLDBCommandArgument(baz, '"'));
  240   EXPECT_EQ("quux\\\t", Args::EscapeLLDBCommandArgument(quux, '\0'));
  241   EXPECT_EQ("quux\t", Args::EscapeLLDBCommandArgument(quux, '\''));
  242   EXPECT_EQ("quux\t", Args::EscapeLLDBCommandArgument(quux, '`'));
  243   EXPECT_EQ("quux\t", Args::EscapeLLDBCommandArgument(quux, '"'));