gecko-dev/build/clang-plugin
Nika Layzell fb07e18588 Bug 1744604 - Part 4: Make the alignas lint behave more consistently across platforms, r=andi
On aarch64 and x86-64 windows, the behaviour of canPassInRegisters is slightly
different than other platforms, accepting types to be passed in registers which
wouldn't be passed in registers on other platforms. This causes the lint to
behave slightly differently on that platform. This patch changes the lint to
always follow the non-win64 behaviour required by the C++ standard.

Depends on D132997

Differential Revision: https://phabricator.services.mozilla.com/D133685
2021-12-14 16:49:18 +00:00
..
alpha Bug 1662652 - New non-standard move checker. r=andi 2021-03-12 08:15:32 +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 1728376 - Searchfox should treat pure virtual declarations as definitions. r=jrmuizel 2021-09-01 02:41:05 +00:00
tests Bug 1744604 - Part 3: Relax the alignas lint to be more accurate to the potential alignment issue, r=andi 2021-12-14 16:49:18 +00:00
.clang-format
ArithmeticArgChecker.cpp
ArithmeticArgChecker.h
AssertAssignmentChecker.cpp
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 1691515 - Add MOZ_KNOWN_LIVE member annotation r=andi 2021-03-05 23:23:03 +00:00
CanRunScriptChecker.h
Checks.inc Bug 1729598 - Remove now-unused MustUseChecker and MOZ_MUST_USE_TYPE attribute. r=static-analysis-reviewers,andi 2021-09-15 05:10:51 +00:00
ChecksIncludes.inc Bug 1729598 - Remove now-unused MustUseChecker and MOZ_MUST_USE_TYPE attribute. r=static-analysis-reviewers,andi 2021-09-15 05:10:51 +00: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 1729598 - Remove now-unused MustUseChecker and MOZ_MUST_USE_TYPE attribute. r=static-analysis-reviewers,andi 2021-09-15 05:10:51 +00:00
CustomMatchers.h Bug 1731582 - starting with clang-13 `Expr::isRValue` has been changed to `Expr::isPRValue`. r=glandium 2021-09-28 07:52:16 +00:00
CustomTypeAnnotation.cpp Bug 1744604 - Part 1: Make CustomTypeAnnotation more flexible, r=andi 2021-12-14 16:49:17 +00:00
CustomTypeAnnotation.h Bug 1744604 - Part 1: Make CustomTypeAnnotation more flexible, r=andi 2021-12-14 16:49:17 +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
ExplicitImplicitChecker.h
ExplicitOperatorBoolChecker.cpp Bug 1707681 - Ignore third party paths in explicit-operator-bool check r=andi 2021-05-04 06:20:25 +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
LoadLibraryUsageChecker.h
Makefile.in Bug 1724606 - Replace uses of MACOSX_DEPLOYMENT_TARGET env variable with -mmacosx-version-min flag. r=firefox-build-system-reviewers,andi 2021-08-11 07:40:57 +00:00
MemMoveAnnotation.h Bug 1744604 - Part 2: Be less restrictive with the non-memmovable static analysis, r=andi 2021-12-14 16:49:17 +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
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
NeedsNoVTableTypeChecker.h
NoAddRefReleaseOnReturnChecker.cpp Bug 1600239 - Make message produced by NoAddRefReleaseOnReturnChecker more explicit. r=andi 2021-02-23 16:24:30 +00:00
NoAddRefReleaseOnReturnChecker.h
NoAutoTypeChecker.cpp
NoAutoTypeChecker.h
NoDuplicateRefCntMemberChecker.cpp
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 1744604 - Part 4: Make the alignas lint behave more consistently across platforms, r=andi 2021-12-14 16:49:18 +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
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 1699844 - Add an escape hatch for the refcounted inside lambda checker. r=andi 2021-04-14 19:12:02 +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
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 1532955 - Track available memory on linux. r=gsvelto,tkikuchi 2021-12-02 11:14:30 +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
TrivialCtorDtorChecker.h
TrivialDtorChecker.cpp Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
TrivialDtorChecker.h
Utils.h Bug 1654112 - Exempt code in webrtc namespace from implicit conversion operator checks. r=andi 2021-02-12 14:26:36 +00:00
VariableUsageHelpers.cpp
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 1729598 - Remove now-unused MustUseChecker and MOZ_MUST_USE_TYPE attribute. r=static-analysis-reviewers,andi 2021-09-15 05:10:51 +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