[PATCH] D46188: [clang-tidy] Add a flag to enable debug checkers

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 27 06:51:28 PDT 2018


lebedev.ri created this revision.
lebedev.ri added reviewers: alexfh, aaron.ballman, hokein.
Herald added a subscriber: xazax.hun.

After https://reviews.llvm.org/D46159 was created by @pfultz2, and i initially thought it was already possible, i had the need to view the call graph.
I have almost wrote the clang-tidy check for that, but then i remembered of `clang-analyzer-debug.ViewCallGraph`.
Naturally, it did not work out-of-the-box, thus this patch.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D46188

Files:
  clang-tidy/ClangTidy.cpp
  clang-tidy/ClangTidyOptions.cpp
  clang-tidy/ClangTidyOptions.h
  clang-tidy/tool/ClangTidyMain.cpp
  docs/clang-tidy/index.rst
  test/clang-tidy/enable-debug-checks.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46188.144335.patch
Type: text/x-patch
Size: 6482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180427/7d3c2ed5/attachment.bin>


More information about the cfe-commits mailing list