]> granicus.if.org Git - clang/commitdiff
Documentation: fix escaping in JSON example
authorDmitri Gribenko <gribozavr@gmail.com>
Wed, 30 Jan 2013 17:58:39 +0000 (17:58 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Wed, 30 Jan 2013 17:58:39 +0000 (17:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173950 91177308-0d34-0410-b5e6-96231b3b80d8

docs/JSONCompilationDatabase.rst

index bb008845ed271671e1c354545fd25766daf3b7ee..926dcba6a4aaeca7e903f4f7943d7f492347a157 100644 (file)
@@ -57,7 +57,7 @@ Example:
 
     [
       { "directory": "/home/user/llvm/build",
-        "command": "/usr/bin/clang++ -Irelative -DSOMEDEF='\"With spaces and quotes.\"' -c -o file.o file.cc",
+        "command": "/usr/bin/clang++ -Irelative -DSOMEDEF=\"With spaces, quotes and \\-es.\" -c -o file.o file.cc",
         "file": "file.cc" },
       ...
     ]