llvm-project/clang/include/clang/Tooling
Zachary Turner 9e60a2ad73 Resubmit "[Tooling] Parse compilation database command lines on Windows."
This patch introduced the ability to decide at runtime whether to parse
JSON compilation database command lines using Gnu syntax or Windows
syntax.  However, there were many existing unit tests written that
hardcoded Gnu-specific paths.  These tests were now failing because
the auto-detection logic was choosing to parse them using Windows
rules.

This resubmission of the patch fixes this by introducing an enum
which defines the syntax mode, which defaults to auto-detect, but
for which the unit tests force Gnu style parsing.

Reviewed By: alexfh
Differential Revision: https://reviews.llvm.org/D23628

llvm-svn: 279120
2016-08-18 19:31:48 +00:00
..
Core Implement tooling::Replacements as a class. 2016-08-01 10:16:37 +00:00
ArgumentsAdjusters.h Make ArgumentAdjuster aware of the current file being processed. 2015-11-05 02:19:53 +00:00
CommonOptionsParser.h [CommonOptionsParser] Return source paths as const ref. 2016-05-31 10:17:46 +00:00
CompilationDatabase.h [tooling] In CompileCommand, Expose the 'file' that was associated with the command. 2015-09-11 20:43:05 +00:00
CompilationDatabasePluginRegistry.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
FileMatchTrie.h [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
FixIt.h [tooling] Remove redundant inline keyword 2016-05-12 00:22:28 +00:00
JSONCompilationDatabase.h Resubmit "[Tooling] Parse compilation database command lines on Windows." 2016-08-18 19:31:48 +00:00
Refactoring.h Implement tooling::Replacements as a class. 2016-08-01 10:16:37 +00:00
RefactoringCallbacks.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
ReplacementsYaml.h [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
Tooling.h Add an optional ToolName argument to runToolOnCodeWithArgs/buildASTFromCodeWithArgs. 2016-01-29 11:29:02 +00:00