[PATCH] D40439: [Tooling] Remove file/command enumeration from CompilationDatabase.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 24 06:28:39 PST 2017


sammccall created this revision.
Herald added a subscriber: klimek.

In practice, these methods aren't used, and several databases don't
implement them.
They remain in libclang as a stub for binary compatibility.
c-index-tests are modified not to rely on them.


https://reviews.llvm.org/D40439

Files:
  bindings/python/clang/cindex.py
  include/clang-c/CXCompilationDatabase.h
  include/clang/Tooling/CommonOptionsParser.h
  include/clang/Tooling/CompilationDatabase.h
  include/clang/Tooling/JSONCompilationDatabase.h
  lib/Tooling/CommonOptionsParser.cpp
  lib/Tooling/CompilationDatabase.cpp
  lib/Tooling/JSONCompilationDatabase.cpp
  test/Index/skip-parsed-bodies/compile_commands.json
  tools/c-index-test/c-index-test.c
  tools/libclang/CXCompilationDatabase.cpp
  unittests/Tooling/CompilationDatabaseTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40439.124199.patch
Type: text/x-patch
Size: 23473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171124/2e86f97b/attachment-0001.bin>


More information about the cfe-commits mailing list