c++11 - clang-analyzer-alpha.unix.PthreadLock check missing from clang-tidy version 3.8 and 4.0? -
i trying modernize module's c++ source code using clang-tidy. few weeks ago, downloaded , built clang , clang tools version 3.9 , when ran on 1 of cpp files got clang-analyzer-alpha.unix.pthreadlock
saying lock has been taken.
later, because of space constraints removed version of clang , used version 3.8 , 4.0 available in our 3rd party repos.
in both of these versions, did not warnings regarding alpha check. how enable in version 4.0 ?
i using -checks=*
while analyzing/running clang-tidy on cpp file.
it looks there's no way enable checks without building clang-tidy yourself: https://reviews.llvm.org/d28729#646548.
Comments
Post a Comment