diff options
author | Manuel Klimek <klimek@google.com> | 2012-04-17 16:54:26 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2012-04-17 16:54:26 +0000 |
commit | c661f1467a84a0a3a83a396b067188b647844ee9 (patch) | |
tree | de35f100469618d2467a4c1c3b8f09eef8ae1307 /unittests/Tooling/CompilationDatabaseTest.cpp | |
parent | 82a9478fcb06ac0d4d2241c05efee91d0eeda580 (diff) |
Switches the JSONCompilationDatabase to use the YAML parser.
This will allow us to delete the JSON parser from llvm.
The biggest change is a general change of strategy - instead
of storing StringRef's to the values for the command line and
directory in the input buffer, we store ScalarNode*'s. The
reason is that the YAML parser's getRawValue on ScalarNodes
returns a string that includes the quotes in case of double
quoted strings.
For the same reason we're removing the JSON parsing part of
the command line parsing - this means an extra copy for a
command line when it is requested (and only when it is requested).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154929 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Tooling/CompilationDatabaseTest.cpp')
0 files changed, 0 insertions, 0 deletions