r173950 - Documentation: fix escaping in JSON example
Dmitri Gribenko
gribozavr at gmail.com
Wed Jan 30 09:58:39 PST 2013
Author: gribozavr
Date: Wed Jan 30 11:58:39 2013
New Revision: 173950
URL: http://llvm.org/viewvc/llvm-project?rev=173950&view=rev
Log:
Documentation: fix escaping in JSON example
Modified:
cfe/trunk/docs/JSONCompilationDatabase.rst
Modified: cfe/trunk/docs/JSONCompilationDatabase.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/JSONCompilationDatabase.rst?rev=173950&r1=173949&r2=173950&view=diff
==============================================================================
--- cfe/trunk/docs/JSONCompilationDatabase.rst (original)
+++ cfe/trunk/docs/JSONCompilationDatabase.rst Wed Jan 30 11:58:39 2013
@@ -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" },
...
]
More information about the cfe-commits
mailing list