Revert "[clang] Drop generated files in compilation database."
This reverts commit 596ae5a1. Reason for revert: breaks code search, which indexes generated files Original change's description: > [clang] Drop generated files in compilation database. > > Generated files (e.g. bind_unittest_nc.cc) are less interesting than regular > human-written files, e.g. it doesn't make sense to apply clang-tidy FixIts to > them; clangd indexer are not interested in indexing them. > > And these files are usually not generated when running clang-based tools. > > size of compilation databse: 204M => 176M > number of entries : 44450 => 38198 > > Change-Id: I32c639562187f814a9286f945b9dfcfbc4ab21d3 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1526264 > Commit-Queue: Daniel Cheng <dcheng@chromium.org> > Auto-Submit: Haojian Wu <hokein.wu@gmail.com> > Reviewed-by: Daniel Cheng <dcheng@chromium.org> > Cr-Commit-Position: refs/heads/master@{#644005} TBR=dcheng@chromium.org,hokein.wu@gmail.com # Not skipping CQ checks because original CL landed > 1 day ago. Change-Id: Id57f162675df0bb274690868f9436edf80c4a0a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1540148Reviewed-by:Daniel Cheng <dcheng@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#644659}
Showing
Please register or sign in to comment