summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-08-18 19:31:48 +0000
committerZachary Turner <zturner@google.com>2016-08-18 19:31:48 +0000
commit9e60a2ad734e1d598f93e7148c6339795b57359c (patch)
tree22ef0e9725e79b8080a08544fed50c69fabb43c2 /clang/lib/CodeGen/CodeGenModule.cpp
parent978f91ca43b1d0a59fa2f6fb6be05d547654a1da (diff)
downloadbcm5719-llvm-9e60a2ad734e1d598f93e7148c6339795b57359c.tar.gz
bcm5719-llvm-9e60a2ad734e1d598f93e7148c6339795b57359c.zip
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud