[PATCH] D17335: [clang-tidy] Fix a crash issue when clang-tidy runs with compilation database.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 25 03:06:36 PST 2016


hokein updated this revision to Diff 49027.
hokein marked an inline comment as done.
hokein added a comment.

Make apply-fix work on relative path in `command` field of compilation database.


http://reviews.llvm.org/D17335

Files:
  clang-tidy/ClangTidy.cpp
  clang-tidy/ClangTidy.h
  clang-tidy/ClangTidyDiagnosticConsumer.cpp
  clang-tidy/ClangTidyDiagnosticConsumer.h
  clang-tidy/tool/ClangTidyMain.cpp
  test/clang-tidy/Inputs/compilation-database/header.h
  test/clang-tidy/Inputs/compilation-database/template.json
  test/clang-tidy/clang-tidy-run-with-database.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17335.49027.patch
Type: text/x-patch
Size: 13264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160225/9f12c4b3/attachment.bin>


More information about the cfe-commits mailing list