[PATCH] D45006: [Tooling] A CompilationDatabase wrapper that infers header commands.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 28 16:16:42 PDT 2018


sammccall created this revision.
Herald added subscribers: cfe-commits, mgorny, klimek.

The wrapper finds the closest matching compile command using filename heuristics
and makes minimal tweaks so it can be used with the header.

(This is WIP and needs tests)


Repository:
  rC Clang

https://reviews.llvm.org/D45006

Files:
  include/clang/Tooling/CompilationDatabase.h
  lib/Tooling/CMakeLists.txt
  lib/Tooling/InterpolatingCompilationDatabase.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45006.140158.patch
Type: text/x-patch
Size: 12086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180328/00fdb292/attachment.bin>


More information about the cfe-commits mailing list