[Tooling] Acknowledge that many CompilationDatabases don't support enumeration.
authorSam McCall <sam.mccall@gmail.com>
Fri, 24 Nov 2017 12:13:55 +0000 (12:13 +0000)
committerSam McCall <sam.mccall@gmail.com>
Fri, 24 Nov 2017 12:13:55 +0000 (12:13 +0000)
commitb50a36c8bc71a7c1ac9f47a08688ac7175684743
tree991b7b66d6516f749c686edc81c66bb7e4f0a2b8
parent70cec59e237fcd2d26da3e5994ed5572a87130d1
[Tooling] Acknowledge that many CompilationDatabases don't support enumeration.

Summary: Provide default implementations so that only getCompileCommands() is mandatory.

Reviewers: ioeric

Subscribers: cfe-commits, bkramer, klimek

Differential Revision: https://reviews.llvm.org/D40409

llvm-svn: 318943
clang/include/clang/Tooling/CompilationDatabase.h
clang/lib/Tooling/CompilationDatabase.cpp