[PATCH] Fix JSON compilation database command unescaping.

Daniel Cheng dcheng at google.com
Sun Nov 23 00:41:43 PST 2014


Hi klimek,

The command line argument unescaper now only skips over a backslash if
the next character is a double quote character. This matches the
compilation database spec and the compilation databases generated by
tools like Ninja and CMake.

http://reviews.llvm.org/D6376

Files:
  lib/Tooling/JSONCompilationDatabase.cpp
  unittests/Tooling/CompilationDatabaseTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6376.16535.patch
Type: text/x-patch
Size: 2272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141123/b50a485b/attachment.bin>


More information about the cfe-commits mailing list