summaryrefslogtreecommitdiffstats
path: root/clang/docs/JSONCompilationDatabase.rst
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-01-30 17:58:39 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-01-30 17:58:39 +0000
commit2625cf06ffcd69a6b9ad072414e16671faa6ab80 (patch)
tree284eac067dcd67e75b7ddeb7f629fdad9b9aab5d /clang/docs/JSONCompilationDatabase.rst
parentb46dc57feb6bca9fbeb661899804c09162bfabc4 (diff)
downloadbcm5719-llvm-2625cf06ffcd69a6b9ad072414e16671faa6ab80.tar.gz
bcm5719-llvm-2625cf06ffcd69a6b9ad072414e16671faa6ab80.zip
Documentation: fix escaping in JSON example
llvm-svn: 173950
Diffstat (limited to 'clang/docs/JSONCompilationDatabase.rst')
-rw-r--r--clang/docs/JSONCompilationDatabase.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/docs/JSONCompilationDatabase.rst b/clang/docs/JSONCompilationDatabase.rst
index bb008845ed2..926dcba6a4a 100644
--- a/clang/docs/JSONCompilationDatabase.rst
+++ b/clang/docs/JSONCompilationDatabase.rst
@@ -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" },
...
]
OpenPOWER on IntegriCloud