forked from OSchip/llvm-project
54042e743c
Currently, arguments are passed via the string attribute 'command', assuming a shell-escaped / quoted command line to extract the original arguments. This works well enough on Unix systems, but turns out to be problematic for Windows tools to generate. This CL adds a new attribute 'arguments', an array of strings, which specifies the exact command line arguments. If 'arguments' is available in the compilation database, it is preferred to 'commands'. Currently there is no plan to retire 'commands': there are enough different use cases where users want to create their own mechanism for creating compilation databases, that it doesn't make sense to force them all to implement shell command line parsing. Patch by Daniel Dilts. llvm-svn: 245036 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CommentHandlerTest.cpp | ||
CompilationDatabaseTest.cpp | ||
Makefile | ||
RecursiveASTVisitorTest.cpp | ||
RecursiveASTVisitorTestCallVisitor.cpp | ||
RecursiveASTVisitorTestDeclVisitor.cpp | ||
RecursiveASTVisitorTestExprVisitor.cpp | ||
RecursiveASTVisitorTestTypeLocVisitor.cpp | ||
RefactoringCallbacksTest.cpp | ||
RefactoringTest.cpp | ||
ReplacementsYamlTest.cpp | ||
RewriterTest.cpp | ||
RewriterTestContext.h | ||
TestVisitor.h | ||
ToolingTest.cpp |