llvm-project/clang/unittests/Tooling
Zachary Turner 9f169afab2 Make YAML quote forward slashes.
If you have the string /usr/bin, prior to this patch it would not
be quoted by our YAML serializer.  But a string like C:\src would
be, due to the presence of a backslash.  This makes the quoting
rules of basically every single file path different depending on
the path syntax (posix vs. Windows).

While technically not required by the YAML specification to quote
forward slashes, when the behavior of paths is inconsistent it
makes it difficult to portably write FileCheck lines that will
work with either kind of path.

Differential Revision: https://reviews.llvm.org/D53169

llvm-svn: 344359
2018-10-12 16:31:20 +00:00
..
RecursiveASTVisitorTests [Sema] Remove location from implicit capture init expr 2018-09-13 23:28:25 +00:00
ASTSelectionTest.cpp [refactor][selection] canonicalize decl ref callee to the call expr 2017-11-14 23:10:50 +00:00
CMakeLists.txt [clang][tooling] Don't forget to link to clangToolingInclusions. 2018-06-04 12:04:41 +00:00
CastExprTest.cpp Make CastExpr::getSubExprAsWritten look through implicit temporary under CK_ConstructorConversion 2017-06-27 08:19:09 +00:00
CommentHandlerTest.cpp Revert "[Tooling] [0/1] Refactor FrontendActionFactory::create() to return std::unique_ptr<>" 2018-02-27 15:54:55 +00:00
CompilationDatabaseTest.cpp [Tooling] Improve handling of CL-style options 2018-09-09 12:06:35 +00:00
DiagnosticsYamlTest.cpp Make YAML quote forward slashes. 2018-10-12 16:31:20 +00:00
ExecutionTest.cpp [Tooling] Add a isSingleProcess() helper to ToolExecutor 2018-08-24 09:03:29 +00:00
FixItTest.cpp
HeaderIncludesTest.cpp Reland "Move #include manipulation code to new lib/Tooling/Inclusions." 2018-06-04 09:04:12 +00:00
LexicallyOrderedRecursiveASTVisitorTest.cpp Port getLocStart -> getBeginLoc 2018-08-09 21:08:08 +00:00
LookupTest.cpp Fully qualify the renamed symbol if the shortened name is ambiguous. 2018-08-03 09:16:07 +00:00
QualTypeNamesTest.cpp Allow modifying the PrintingPolicy for fully qualified names. 2018-05-04 20:12:39 +00:00
RecursiveASTVisitorTestDeclVisitor.cpp Port getLocStart -> getBeginLoc 2018-08-09 21:08:08 +00:00
RecursiveASTVisitorTestPostOrderVisitor.cpp Refactor RecursiveASTVisitor test for post-order traversal 2018-01-24 09:40:16 +00:00
RecursiveASTVisitorTestTypeLocVisitor.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
RefactoringActionRulesTest.cpp Unittests misc. typos 2018-02-06 13:12:29 +00:00
RefactoringCallbacksTest.cpp Add ASTMatchRefactorer and ReplaceNodeWithTemplate to RefactoringCallbacks 2017-05-10 07:48:45 +00:00
RefactoringTest.cpp Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
ReplacementTest.h clang-format: Separate out a language kind for ObjC. 2016-12-12 12:42:29 +00:00
ReplacementsYamlTest.cpp Make YAML quote forward slashes. 2018-10-12 16:31:20 +00:00
RewriterTest.cpp Implement tooling::Replacements as a class. 2016-08-01 10:16:37 +00:00
RewriterTestContext.h Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
TestVisitor.h Revert "[Tooling] [0/1] Refactor FrontendActionFactory::create() to return std::unique_ptr<>" 2018-02-27 15:54:55 +00:00
ToolingTest.cpp Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00