[PATCH] D54257: [clang-tidy] **Prototype** use AllTUsExecutors
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 8 06:34:40 PST 2018
hokein created this revision.
Herald added subscribers: cfe-commits, mgrang, xazax.hun.
Only works on StandaloneToolExecutor, crashes happen when running
AllTUsExecutors with multithreads (I believe it is because
ClangTidyContext is not threadsafe).
// Restrict thread to 1.
./bin/clang-tidy -executor=all-TUs -filter=".*/extra/*" -checks="-*,readability-braces-around-statements" -execute-concurrency=1 -export-fixes="/tmp/fixes.yaml" .
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D54257
Files:
clang-tidy/ClangTidy.cpp
clang-tidy/ClangTidy.h
clang-tidy/ClangTidyDiagnosticConsumer.cpp
clang-tidy/ClangTidyDiagnosticConsumer.h
clang-tidy/tool/ClangTidyMain.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54257.173157.patch
Type: text/x-patch
Size: 11101 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181108/1a8ab31f/attachment-0001.bin>
More information about the cfe-commits
mailing list