gecko-dev/build/clang-plugin
David Major e169ac43d1 Bug 1682611 - Update clang-plugin for removal of ast_type_traits namespace in clang 12 r=static-analysis-reviewers,andi
In clang 11, the contents of `ast_type_traits` were moved to the `clang` namespace, but forwarders were kept to give a grace period for downstreams.

In this week's clang 12, the forwarders have been removed, and our builds will break.

Thanks to upstream kindly allowed this transition period, we can simply do the rename now to prepare for clang 12, and existing clang 11 builds still work.

Differential Revision: https://phabricator.services.mozilla.com/D99817
2020-12-15 19:30:51 +00:00
..
alpha Bug 1614371 - Move mozilla-performance-temp-refptr check to alpha checker repo. r=andi 2020-03-19 14:19:15 +00:00
external Bug 1664394 - rename linux64-civet-tidy to linux64-external-tidy;r=andi 2020-09-15 15:06:10 +00:00
mozsearch-plugin Bug 1418001 - Generate analysis for file inclusions. r=asuth,andi 2020-11-03 15:57:32 +00:00
tests Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham 2020-12-15 10:34:54 +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
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
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 1646158 - Fix StringRef conversions in clang-plugin for clang 11 r=static-analysis-reviewers,andi 2020-06-17 15:56:44 +00:00
CanRunScriptChecker.h
Checks.inc Backed out 2 changesets (bug 1485588) for bustages on TestNoLocaleSpecificChecker.cpp . CLOSED TREE 2020-07-20 15:35:25 +03:00
ChecksIncludes.inc Backed out 2 changesets (bug 1485588) for bustages on TestNoLocaleSpecificChecker.cpp . CLOSED TREE 2020-07-20 15:35:25 +03:00
CustomAttributes.cpp Bug 1644852 - Add an external/CustomAttributes.inc r=andi 2020-06-10 14:28:57 -05:00
CustomAttributes.h Bug 1644852 - Add an external/CustomAttributes.inc r=andi 2020-06-10 14:28:57 -05:00
CustomAttributes.inc Bug 1651323 - Add temporary lifetime bound checker. r=andi,xpcom-reviewers,nika 2020-07-10 12:15:57 +00:00
CustomMatchers.h Backed out 2 changesets (bug 1485588) for bustages on TestNoLocaleSpecificChecker.cpp . CLOSED TREE 2020-07-20 15:35:25 +03: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 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
DanglingOnTemporaryChecker.h
DiagnosticsMatcher.cpp Bug 1619921 - enable clang-plugin with support for alpha checkers module. r=froydnj,sg 2020-03-17 07:01:09 +00:00
DiagnosticsMatcher.h Bug 1619921 - enable clang-plugin with support for alpha checkers module. r=froydnj,sg 2020-03-17 07:01:09 +00: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
ExplicitOperatorBoolChecker.cpp Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
ExplicitOperatorBoolChecker.h
FopenUsageChecker.cpp Bug 1615245 - checker `fopen-usage` should ignore some `gtest` include files. r=froydnj 2020-02-15 17:56:39 +00:00
FopenUsageChecker.h Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
KungFuDeathGripChecker.cpp Bug 1605075 - Ignore kfdg variables initialized from xvalues in KungFuDeatGripChecker. r=andi 2020-04-09 09:48:13 +00:00
KungFuDeathGripChecker.h
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
MozCheckAction.cpp Bug 1591493 - Clang plugin should work with distributed builds. r=andi 2019-10-28 06:54:25 +00:00
MozillaTidyModule.cpp Bug 1652039 - Include checks in subdirectories in MozillaTidyModule.cpp r=andi 2020-07-20 07:50:47 +00: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 1666307 - Turn assertion failure into an early return for now. r=andi 2020-09-22 12:33:32 +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
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
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
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
NoAutoTypeChecker.cpp
NoAutoTypeChecker.h
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
NoExplicitMoveConstructorChecker.cpp
NoExplicitMoveConstructorChecker.h
NoNewThreadsChecker.cpp Bug 1613440 - Add new clang plugin to deprecate NS_NewNamedThread r=andi 2020-02-27 12:53:54 +00:00
NoNewThreadsChecker.h Bug 1613440 - Add new clang plugin to deprecate NS_NewNamedThread r=andi 2020-02-27 12:53:54 +00:00
NoPrincipalGetURI.cpp Bug 1638576 - Correct spelling of "deprecated" (follow-up to bug 1611160). r=sylvestre 2020-05-17 20:20:38 +00:00
NoPrincipalGetURI.h Bug 1611160 - Add Clang Plugin for nsIPrincipal r=ckerschb,andi 2020-03-03 14:30:36 +00:00
NoUsingNamespaceMozillaJavaChecker.cpp Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
NoUsingNamespaceMozillaJavaChecker.h Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
NonMemMovableMemberChecker.cpp
NonMemMovableMemberChecker.h
NonMemMovableTemplateArgChecker.cpp
NonMemMovableTemplateArgChecker.h
NonParamInsideFunctionDeclChecker.cpp Bug 1487622 - Refactor the clang plugin wrt attributes r=andi 2018-09-18 13:03:33 +00:00
NonParamInsideFunctionDeclChecker.h
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
OverrideBaseCallChecker.cpp Bug 1487622 - Refactor the clang plugin wrt attributes r=andi 2018-09-18 13:03:33 +00:00
OverrideBaseCallChecker.h
OverrideBaseCallUsageChecker.cpp
OverrideBaseCallUsageChecker.h
ParamTraitsEnumChecker.cpp Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
ParamTraitsEnumChecker.h Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
RecurseGuard.h
RefCountedCopyConstructorChecker.cpp
RefCountedCopyConstructorChecker.h
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
ScopeChecker.cpp Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
ScopeChecker.h
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
StmtToBlockMap.h Bug 1682611 - Update clang-plugin for removal of ast_type_traits namespace in clang 12 r=static-analysis-reviewers,andi 2020-12-15 19:30:51 +00:00
TemporaryLifetimeBoundChecker.cpp Bug 1651323 - Add temporary lifetime bound checker. r=andi,xpcom-reviewers,nika 2020-07-10 12:15:57 +00:00
TemporaryLifetimeBoundChecker.h Bug 1651323 - Add temporary lifetime bound checker. r=andi,xpcom-reviewers,nika 2020-07-10 12:15:57 +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 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
ThreadAllows.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
ThreadAllows.txt Bug 1676906 - Remove unnecessary names in ThreadAllows.txt r=andi 2020-11-19 16:00:56 +00:00
ThreadFileAllows.txt Bug 1613440 - Add new clang plugin to deprecate NS_NewNamedThread r=andi 2020-02-27 12:53:54 +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
TrivialDtorChecker.cpp Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +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 1664898 - move media/mtransport to media/transport. r=ng 2020-09-22 21:43:49 +00:00
VariableUsageHelpers.cpp Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs 2019-07-08 09:27:47 +00:00
VariableUsageHelpers.h
import_mozilla_checks.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
plugin.h Bug 1650804 - Update clang-tidy code for new ClangTidyCheck.h header in recent clangs r=static-analysis-reviewers,andi 2020-07-06 16:31:17 +00:00