Index: clang/include/clang/StaticAnalyzer/Checkers/Checkers.td =================================================================== --- clang/include/clang/StaticAnalyzer/Checkers/Checkers.td +++ clang/include/clang/StaticAnalyzer/Checkers/Checkers.td @@ -109,6 +109,7 @@ def NonDeterminismAlpha : Package<"nondeterminism">, ParentPackage; def Fuchsia : Package<"fuchsia">; +def FuchsiaAlpha : Package<"fuchsia">, ParentPackage; //===----------------------------------------------------------------------===// // Core Checkers. @@ -1464,6 +1465,10 @@ HelpText<"A Checker that detect leaks related to Fuchsia handles">, Documentation; +} + +let ParentPackage = FuchsiaAlpha in { + def FuchsiaLockChecker : Checker<"Lock">, HelpText<"Check for the correct usage of locking APIs.">, Dependencies<[PthreadLockBase]>, Index: clang/test/Analysis/fuchsia_lock.c =================================================================== --- clang/test/Analysis/fuchsia_lock.c +++ clang/test/Analysis/fuchsia_lock.c @@ -1,4 +1,4 @@ -// RUN: %clang_analyze_cc1 -analyzer-checker=fuchsia.Lock -verify %s +// RUN: %clang_analyze_cc1 -analyzer-checker=alpha.fuchsia.Lock -verify %s typedef int spin_lock_t; typedef int zx_status_t; Index: clang/test/Analysis/fuchsia_lock_impl.c =================================================================== --- clang/test/Analysis/fuchsia_lock_impl.c +++ clang/test/Analysis/fuchsia_lock_impl.c @@ -1,4 +1,4 @@ -// RUN: %clang_analyze_cc1 -analyzer-checker=fuchsia.Lock -verify %s +// RUN: %clang_analyze_cc1 -analyzer-checker=alpha.fuchsia.Lock -verify %s // expected-no-diagnostics typedef int spin_lock_t;