Home
last modified time | relevance | path

Searched refs:unescapeJsonCommandLine (Results 1 – 2 of 2) sorted by relevance

/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp340 static std::vector<std::string> unescapeJsonCommandLine(StringRef Command) { in unescapeJsonCommandLine() function
351 TEST(unescapeJsonCommandLine, ReturnsEmptyArrayOnEmptyString) { in TEST() argument
352 std::vector<std::string> Result = unescapeJsonCommandLine(""); in TEST()
356 TEST(unescapeJsonCommandLine, SplitsOnSpaces) { in TEST() argument
357 std::vector<std::string> Result = unescapeJsonCommandLine("a b c"); in TEST()
364 TEST(unescapeJsonCommandLine, MungesMultipleSpaces) { in TEST() argument
365 std::vector<std::string> Result = unescapeJsonCommandLine(" a b "); in TEST()
371 TEST(unescapeJsonCommandLine, UnescapesBackslashCharacters) { in TEST() argument
372 std::vector<std::string> Backslash = unescapeJsonCommandLine("a\\\\\\\\"); in TEST()
375 std::vector<std::string> Quote = unescapeJsonCommandLine("a\\\\\\\""); in TEST()
[all …]
/external/llvm-project/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp410 static std::vector<std::string> unescapeJsonCommandLine(StringRef Command) { in unescapeJsonCommandLine() function
421 TEST(unescapeJsonCommandLine, ReturnsEmptyArrayOnEmptyString) { in TEST() argument
422 std::vector<std::string> Result = unescapeJsonCommandLine(""); in TEST()
426 TEST(unescapeJsonCommandLine, SplitsOnSpaces) { in TEST() argument
427 std::vector<std::string> Result = unescapeJsonCommandLine("a b c"); in TEST()
434 TEST(unescapeJsonCommandLine, MungesMultipleSpaces) { in TEST() argument
435 std::vector<std::string> Result = unescapeJsonCommandLine(" a b "); in TEST()
441 TEST(unescapeJsonCommandLine, UnescapesBackslashCharacters) { in TEST() argument
442 std::vector<std::string> Backslash = unescapeJsonCommandLine("a\\\\\\\\"); in TEST()
445 std::vector<std::string> Quote = unescapeJsonCommandLine("a\\\\\\\""); in TEST()
[all …]