]> granicus.if.org Git - clang/commitdiff
Update the docs with specifics about escaping of compile commands.
authorManuel Klimek <klimek@google.com>
Tue, 10 Jul 2012 08:05:54 +0000 (08:05 +0000)
committerManuel Klimek <klimek@google.com>
Tue, 10 Jul 2012 08:05:54 +0000 (08:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159987 91177308-0d34-0410-b5e6-96231b3b80d8

docs/JSONCompilationDatabase.html

index 9785ac48ba5e76eff9a21c97243c4b3dbf41367f..29071947290234504671c3ce1aec9b5f1c47c00e 100644 (file)
@@ -71,7 +71,9 @@ command objects for the same file, for example if the same source file is
 compiled with different configurations.</li>
 <li><b>command:</b> The compile command executed. After JSON unescaping, this must
 be a valid command to rerun the exact compilation step for the translation unit in
-the environment the build system uses.</li>
+the environment the build system uses. Parameters use shell quoting and shell escaping
+of quotes, with '"' and '\' being the only special characters. Shell expansion is
+not supported.</li>
 </ul>
 </p>