This revision was automatically updated to reflect the committed changes.
Closed by commit rL288821: Allow clang to write compilation database records.
(authored by joerg).
Changed prior to commit:
https://reviews.llvm.org/D27140?vs=79997&id=80429#toc
Repository:
rL LLVM
https://reviews.llv
klimek accepted this revision.
klimek added a comment.
This revision is now accepted and ready to land.
LG. We can always add more intricate ways later on.
Repository:
rL LLVM
https://reviews.llvm.org/D27140
___
cfe-commits mailing list
cfe-commi
arichardson added a comment.
It would also be good to append --sysroot=DEFAULT_SYSROOT if DEFAULT_SYSROOT is
not empty and there is no explicit --sysroot flag. That way the compilation
database can also be consumed by a libclang based too that does not have the
same DEFAULT_SYSROOT set.
Repos
joerg added a comment.
Ping
Repository:
rL LLVM
https://reviews.llvm.org/D27140
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
joerg updated the summary for this revision.
joerg set the repository for this revision to rL LLVM.
joerg updated this revision to Diff 79997.
joerg added a comment.
Add test case.
Repository:
rL LLVM
https://reviews.llvm.org/D27140
Files:
include/clang/Basic/DiagnosticDriverKinds.td
inc
klimek added reviewers: bkramer, akyrtzi.
klimek added a comment.
Adding some folks. One question is whether we can use the additional output
stuff doug added at some point for this.
https://reviews.llvm.org/D27140
___
cfe-commits mailing list
cfe-
joerg updated this revision to Diff 79482.
joerg added a comment.
Move implementation into the Clang class, keep track of the raw_fd_stream. This
avoids reopening it on multiple inputs and removes the need for append mode.
Short circuit the function when -### is present. Add proper diagnostics o
joerg removed rL LLVM as the repository for this revision.
joerg updated this revision to Diff 79423.
joerg added a comment.
Use llvm::yaml::escape.
https://reviews.llvm.org/D27140
Files:
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
Index: include/clang/Driver/Options.td
==
joerg created this revision.
joerg added reviewers: klimek, rsmith.
joerg added a subscriber: cfe-commits.
joerg set the repository for this revision to rL LLVM.
joerg added a dependency: D27138: Extend CompilationDatabase by a field for the
output filename.
When integrating compilation database