gecko-dev/build/clang-plugin
Mike Shal e6464dd404 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-13 20:31:50 +00:00
..
mozsearch-plugin Bug 1511025 - Correct searchfox template traversal. r=emilio 2019-09-05 07:17:57 +00:00
tests Bug 1614840 - Fix fopen-usage checker so that it does not match wchar_t. r=andi 2020-02-12 14:26:44 +00:00
.clang-format
ArithmeticArgChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
ArithmeticArgChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
AssertAssignmentChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
AssertAssignmentChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
BaseCheck.h Bug 1589096 - add registerPPCallbacks to our version of clang-tidy due to a limitation in mozilla-must-override. r=sylvestre 2019-10-31 12:16:35 +00:00
CanRunScriptChecker.cpp Bug 1539016 part 2. Teach MOZ_CAN_RUN_SCRIPT analysis about conditional operators. r=andi 2019-03-26 20:56:36 +00:00
CanRunScriptChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
Checks.inc Bug 1613176 - Introduce NonTrivialTypeInFfiChecker. r=andi 2020-02-11 13:11:29 +00:00
ChecksIncludes.inc Bug 1613176 - Introduce NonTrivialTypeInFfiChecker. r=andi 2020-02-11 13:11:29 +00:00
CustomAttributes.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
CustomAttributes.h Bug 1487622 - Refactor the clang plugin wrt attributes r=andi 2018-09-18 13:03:33 +00:00
CustomAttributes.inc Bug 1581315 part 1. Adjust MOZ_MUST_RETURN_FROM_CALLER to only apply to method calls on arguments. r=nika 2019-09-20 02:17:01 +00:00
CustomMatchers.h Bug 1610678: Add check to clang plugin to raise error when using namespace mozilla::java is present in C++ source; r=andi 2020-01-22 18:47:04 +00:00
CustomTypeAnnotation.cpp Bug 1569681: Part 1 - Add support for moz_static_local_class and moz_trivial_dtor to clang-plugin; r=Ehsan 2019-07-30 18:50:52 +00:00
CustomTypeAnnotation.h Bug 1569681: Part 1 - Add support for moz_static_local_class and moz_trivial_dtor to clang-plugin; r=Ehsan 2019-07-30 18:50:52 +00:00
DanglingOnTemporaryChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
DanglingOnTemporaryChecker.h
DiagnosticsMatcher.cpp Bug 1589096 - add registerPPCallbacks to our version of clang-tidy due to a limitation in mozilla-must-override. r=sylvestre 2019-10-31 12:16:35 +00:00
DiagnosticsMatcher.h Bug 1434326: Cleanup DiagnosticsMatcher constructor. r=mystor 2018-01-30 17:40:00 +01:00
ExplicitImplicitChecker.cpp Bug 1483953 - Add a FixIt hint for the ExplicitImplicitChecker analysis. r=Ehsan 2018-08-24 14:11:26 +00:00
ExplicitImplicitChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
ExplicitOperatorBoolChecker.cpp Bug 1557313 - Update ExplicitOperatorBoolChecker.cpp for clang trunk changes r=andi 2019-06-06 15:42:25 +00:00
ExplicitOperatorBoolChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
FopenUsageChecker.cpp Bug 1614840 - Fix fopen-usage checker so that it does not match wchar_t. r=andi 2020-02-12 14:26:44 +00:00
FopenUsageChecker.h Bug 1391711 - Implement a static analysis checker to detect usages of fopen/ open like functions on win32 platform. r=sg 2020-02-10 14:41:26 +00:00
import_mozilla_checks.py Bug 1332689 - Remove clang 3.8 compat code. r=andi 2019-10-28 06:54:43 +00:00
KungFuDeathGripChecker.cpp Bug 1514801 - refactor clang based checker - KungFuDeathGripChecker. r=glandium 2019-07-17 05:05:30 +00:00
KungFuDeathGripChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
LoadLibraryUsageChecker.cpp Bug 1511889 - Update clang-plugin LoadLibraryUsageChecker to use getBeginLoc. r=froydnj 2018-12-06 16:34:13 +00:00
LoadLibraryUsageChecker.h Bug 1440886 - Implement a static analysis checker to detect usage of PR_LoadLibrary and LoadLibraryA/LoadLibraryExA/LoadLibrary/LoadLibraryEx. r=Nika 2018-03-07 14:36:44 +02:00
Makefile.in Bug 1522771: Use -brepro to build clang-plugin.dll deterministically. r=mshal 2019-01-25 11:09:13 -05:00
MemMoveAnnotation.h Bug 1579351 - Add constant complexity for MemMoveAnnotation when looking for specific std::atomic. r=froydnj 2019-09-09 13:30:16 +00:00
moz.build Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart 2020-02-13 20:31:50 +00:00
MozCheckAction.cpp Bug 1591493 - Clang plugin should work with distributed builds. r=andi 2019-10-28 06:54:25 +00:00
MozillaTidyModule.cpp Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
MustOverrideChecker.cpp Bug 1589096 - add registerPPCallbacks to our version of clang-tidy due to a limitation in mozilla-must-override. r=sylvestre 2019-10-31 12:16:35 +00:00
MustOverrideChecker.h Bug 1589096 - add registerPPCallbacks to our version of clang-tidy due to a limitation in mozilla-must-override. r=sylvestre 2019-10-31 12:16:35 +00:00
MustReturnFromCallerChecker.cpp Bug 1580260 - rework the logic for MustReturnFromCaller checker. r=froydnj 2020-02-05 08:34:36 +00:00
MustReturnFromCallerChecker.h Bug 1580260 - rework the logic for MustReturnFromCaller checker. r=froydnj 2020-02-05 08:34:36 +00:00
MustUseChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
MustUseChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
NaNExprChecker.cpp Bug 1332689 - Remove clang 3.9 compat code for the clang-plugin. r=andi 2019-10-28 06:55:00 +00:00
NaNExprChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
NeedsNoVTableTypeChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
NeedsNoVTableTypeChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
NoAddRefReleaseOnReturnChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
NoAddRefReleaseOnReturnChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
NoAutoTypeChecker.cpp Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
NoAutoTypeChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
NoDuplicateRefCntMemberChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
NoDuplicateRefCntMemberChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
NoExplicitMoveConstructorChecker.cpp Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
NoExplicitMoveConstructorChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
NonMemMovableMemberChecker.cpp Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
NonMemMovableMemberChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
NonMemMovableTemplateArgChecker.cpp Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
NonMemMovableTemplateArgChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
NonParamInsideFunctionDeclChecker.cpp Bug 1487622 - Refactor the clang plugin wrt attributes r=andi 2018-09-18 13:03:33 +00:00
NonParamInsideFunctionDeclChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
NonTrivialTypeInFfiChecker.cpp Bug 1613176 - Introduce NonTrivialTypeInFfiChecker. r=andi 2020-02-11 13:11:29 +00:00
NonTrivialTypeInFfiChecker.h Bug 1613176 - Introduce NonTrivialTypeInFfiChecker. r=andi 2020-02-11 13:11:29 +00:00
NoUsingNamespaceMozillaJavaChecker.cpp Bug 1610678: Add check to clang plugin to raise error when using namespace mozilla::java is present in C++ source; r=andi 2020-01-22 18:47:04 +00:00
NoUsingNamespaceMozillaJavaChecker.h Bug 1610678: Add check to clang plugin to raise error when using namespace mozilla::java is present in C++ source; r=andi 2020-01-22 18:47:04 +00:00
OverrideBaseCallChecker.cpp Bug 1487622 - Refactor the clang plugin wrt attributes r=andi 2018-09-18 13:03:33 +00:00
OverrideBaseCallChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
OverrideBaseCallUsageChecker.cpp Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
OverrideBaseCallUsageChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
ParamTraitsEnumChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
ParamTraitsEnumChecker.h Bug 1398874 - Add static analysis to reject ParamTraits specializations for enum types. r=mystor 2017-12-05 10:26:41 -05:00
plugin.h Bug 1589096 - add registerPPCallbacks to our version of clang-tidy due to a limitation in mozilla-must-override. r=sylvestre 2019-10-31 12:16:35 +00:00
RecurseGuard.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
RefCountedCopyConstructorChecker.cpp Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
RefCountedCopyConstructorChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
RefCountedInsideLambdaChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
RefCountedInsideLambdaChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
ScopeChecker.cpp Bug 1569681: Part 1 - Add support for moz_static_local_class and moz_trivial_dtor to clang-plugin; r=Ehsan 2019-07-30 18:50:52 +00:00
ScopeChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
SprintfLiteralChecker.cpp Bug 1332689 - Remove clang 3.9 compat code for the clang-plugin. r=andi 2019-10-28 06:55:00 +00:00
SprintfLiteralChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
StmtToBlockMap.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
TempRefPtrChecker.cpp Bug 1609638 - Add analysis identifying dereferences of temporary RefPtr objects. r=andi 2020-01-20 14:11:21 +00:00
TempRefPtrChecker.h Bug 1609638 - Add analysis identifying dereferences of temporary RefPtr objects. r=andi 2020-01-20 14:11:21 +00:00
ThirdPartyPaths.h Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs 2019-07-08 09:27:47 +00:00
ThirdPartyPaths.py Bug 1577726 - Move generated directories into a dedicated file (Generated.txt) from ThirdPartyPaths.txt r=ahal 2019-09-05 14:24:21 +00:00
TrivialCtorDtorChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
TrivialCtorDtorChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
TrivialDtorChecker.cpp Bug 1569681: Part 1 - Add support for moz_static_local_class and moz_trivial_dtor to clang-plugin; r=Ehsan 2019-07-30 18:50:52 +00:00
TrivialDtorChecker.h Bug 1569681: Part 1 - Add support for moz_static_local_class and moz_trivial_dtor to clang-plugin; r=Ehsan 2019-07-30 18:50:52 +00:00
Utils.h Bug 1566288 - Port libGraphite usage in libThebes to use the RLBox API. r=froydnj,jfkthame 2019-12-19 16:05:35 +00:00
VariableUsageHelpers.cpp Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs 2019-07-08 09:27:47 +00:00
VariableUsageHelpers.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00