Re: [PATCH] D25027: Add getCommonRoot Interface in CompilationDatabase.

2016-09-29 Thread Haojian Wu via cfe-commits
hokein updated this revision to Diff 72963. hokein added a comment. Correct the implementation of FixedCompilationDatabase::getCommonRoot. https://reviews.llvm.org/D25027 Files: include/clang/Tooling/CompilationDatabase.h include/clang/Tooling/JSONCompilationDatabase.h lib/Tooling/CommonO

[PATCH] D25027: Add getCommonRoot Interface in CompilationDatabase.

2016-09-28 Thread Haojian Wu via cfe-commits
hokein created this revision. hokein added reviewers: klimek, bkramer. hokein added a subscriber: cfe-commits. Herald added a subscriber: klimek. Provide a way allowing clang clients to get the common build directory from the compilation database. https://reviews.llvm.org/D25027 Files: include