[cfe-commits] [PATCH] Make CompilationDatabase work with symlinks and relative paths

Daniel Jasper reviews at llvm-reviews.chandlerc.com
Mon Aug 27 17:43:13 PDT 2012


Hi chandlerc,

This is a first version of my patch to properly support symlinks in the compilation database design, hopefully following the algorithm we discussed on IRC (see class comment of FileNameMatchTrie).

This is not polished yet (see FIXMEs), but I would like to get feedback before going (further) into the wrong direction.

http://llvm-reviews.chandlerc.com/D30

Files:
  include/clang/Tooling/CompilationDatabase.h
  include/clang/Tooling/JSONCompilationDatabase.h
  lib/Tooling/CompilationDatabase.cpp
  lib/Tooling/JSONCompilationDatabase.cpp
  unittests/Tooling/CompilationDatabaseTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30.1.patch
Type: text/x-patch
Size: 13555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120827/b3235e93/attachment.bin>


More information about the cfe-commits mailing list