This is an archive of the discontinued LLVM Phabricator instance.

Add getCommonRoot Interface in CompilationDatabase.
Needs ReviewPublic

Authored by hokein on Sep 28 2016, 8:13 AM.

Details

Reviewers
klimek
bkramer
Summary

Provide a way allowing clang clients to get the common build directory
from the compilation database.

Diff Detail

Event Timeline

hokein updated this revision to Diff 72831.Sep 28 2016, 8:13 AM
hokein retitled this revision from to Add getCommonRoot Interface in CompilationDatabase..
hokein updated this object.
hokein added reviewers: klimek, bkramer.
hokein added a subscriber: cfe-commits.
hokein updated this revision to Diff 72963.Sep 29 2016, 1:13 AM

Correct the implementation of FixedCompilationDatabase::getCommonRoot.

ioeric added a subscriber: ioeric.Oct 13 2016, 2:12 AM