gecko-dev/build/clang-plugin
Mike Hommey 71ac4d413d Bug 1850307 - Avoid truncation in TestSprintfLiteral.cpp. r=nika
Clang trunk started to warn about uses of snprintf that always lead to
truncation. The warning is hit in the test, but it's not really an
interesting part of the test, so prevent clang from warning by making
the format string smaller.

Differential Revision: https://phabricator.services.mozilla.com/D186990
2023-08-28 20:53:30 +00:00
..
alpha Bug 1814134 - Fix clang plugin to build with recent clang trunk. r=firefox-build-system-reviewers,ahochheiden 2023-01-31 17:18:03 +00:00
external
mozsearch-plugin Bug 1836695 - Pick up latest HeuristicResolver updates from llvm trunk. r=andi DONTBUILD 2023-06-23 01:42:55 +00:00
tests Bug 1850307 - Avoid truncation in TestSprintfLiteral.cpp. r=nika 2023-08-28 20:53:30 +00:00
.clang-format
ArithmeticArgChecker.cpp
ArithmeticArgChecker.h
AssertAssignmentChecker.cpp
AssertAssignmentChecker.h
BaseCheck.h
CanRunScriptChecker.cpp Bug 1826036 - Make CanRunScriptChecker treat references as safe if initialized with safe things r=andi 2023-04-04 05:07:33 +00:00
CanRunScriptChecker.h
Checks.inc Bug 1765832 - Part 1: Restrict MOZ_KNOWN_LIVE to be modifiable only by constructor/destructors r=andi 2022-05-18 18:07:00 +00:00
ChecksIncludes.inc Bug 1765832 - Part 1: Restrict MOZ_KNOWN_LIVE to be modifiable only by constructor/destructors r=andi 2022-05-18 18:07:00 +00:00
CustomAttributes.cpp Bug 1798305 - for clang-tidy do not cache attributes using a matcher since incomplete definitions may occur. r=sergesanspaille 2023-03-27 16:04:39 +00:00
CustomAttributes.h
CustomAttributes.inc Bug 1748874 - Part 5: Require CAN_RUN_SCRIPT to be at the first declaration r=andi 2022-01-11 11:52:27 +00:00
CustomMatchers.h Bug 1791682 - [2/3] Allow multiple path-elements in ThreadFileAllows.txt r=andi 2022-09-30 00:11:22 +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
DanglingOnTemporaryChecker.h
DiagnosticsMatcher.cpp
DiagnosticsMatcher.h
ExplicitImplicitChecker.cpp
ExplicitImplicitChecker.h
ExplicitOperatorBoolChecker.cpp
ExplicitOperatorBoolChecker.h
FopenUsageChecker.cpp
FopenUsageChecker.h
import_mozilla_checks.py Bug 1790816 - Reformat build/ with isort. r=linter-reviewers,ahal DONTBUILD 2022-11-24 17:23:47 +00:00
JSHandleRootedTypedefChecker.cpp Bug 1769290 - Part 26: Emit errors from JSHandleRootedTypedefChecker r=andi,geckoview-reviewers,owlish 2022-08-09 14:13:30 +00:00
JSHandleRootedTypedefChecker.h Bug 1766038 - Prefer full qualified types over typedefs for JS::Handle/Rooted r=andi,sfink 2022-05-13 22:45:51 +00:00
KnownLiveChecker.cpp Bug 1765832 - Part 1: Restrict MOZ_KNOWN_LIVE to be modifiable only by constructor/destructors r=andi 2022-05-18 18:07:00 +00:00
KnownLiveChecker.h Bug 1765832 - Part 1: Restrict MOZ_KNOWN_LIVE to be modifiable only by constructor/destructors r=andi 2022-05-18 18:07:00 +00:00
KungFuDeathGripChecker.cpp
KungFuDeathGripChecker.h
LoadLibraryUsageChecker.cpp
LoadLibraryUsageChecker.h
Makefile.in Bug 1806040 - Preserve host ldflags from configure when building clang-plugin. r=firefox-build-system-reviewers,ahochheiden 2022-12-28 21:01:59 +00:00
MemMoveAnnotation.h Bug 1225722 - Less restrictive non-memmovable static analysis of std::tuple. r=nika 2022-02-01 23:12:30 +00:00
moz.build Bug 1833072 - Use clangd's full HeuristicResolver implementation. r=asuth,sylvestre DONTBUILD 2023-05-22 08:26:14 +00:00
MozCheckAction.cpp
MozillaTidyModule.cpp
MustOverrideChecker.cpp
MustOverrideChecker.h
MustReturnFromCallerChecker.cpp Bug 1814134 - Fix clang plugin to build with recent clang trunk. r=firefox-build-system-reviewers,ahochheiden 2023-01-31 17:18:03 +00:00
MustReturnFromCallerChecker.h
NaNExprChecker.cpp Bug 1660405 - Move away from mozilla::IsNaN in favor of std::isnan. r=nbp,media-playback-reviewers,sergesanspaille,padenot 2023-03-22 11:35:33 +00:00
NaNExprChecker.h
NeedsNoVTableTypeChecker.cpp
NeedsNoVTableTypeChecker.h
NoAddRefReleaseOnReturnChecker.cpp
NoAddRefReleaseOnReturnChecker.h
NoAutoTypeChecker.cpp
NoAutoTypeChecker.h
NoDuplicateRefCntMemberChecker.cpp
NoDuplicateRefCntMemberChecker.h
NoExplicitMoveConstructorChecker.cpp Bug 1743020 - Part 1: Opt third-party paths out of NoExplicitMoveConstructor checker, r=andi 2022-06-02 13:24:09 +00:00
NoExplicitMoveConstructorChecker.h
NoNewThreadsChecker.cpp
NoNewThreadsChecker.h
NonMemMovableMemberChecker.cpp
NonMemMovableMemberChecker.h
NonMemMovableTemplateArgChecker.cpp
NonMemMovableTemplateArgChecker.h
NonParamInsideFunctionDeclChecker.cpp Bug 1803471 - Adjust clang plugin to upstream changes on trunk. r=firefox-build-system-reviewers,ahochheiden 2022-12-01 23:59:01 +00:00
NonParamInsideFunctionDeclChecker.h
NonTrivialTypeInFfiChecker.cpp
NonTrivialTypeInFfiChecker.h
NoPrincipalGetURI.cpp Bug 1779346 - Fix NoPrincipalGetURI matchers. r=andi 2022-07-22 07:59:35 +00:00
NoPrincipalGetURI.h
NoUsingNamespaceMozillaJavaChecker.cpp
NoUsingNamespaceMozillaJavaChecker.h
OverrideBaseCallChecker.cpp
OverrideBaseCallChecker.h
OverrideBaseCallUsageChecker.cpp
OverrideBaseCallUsageChecker.h
ParamTraitsEnumChecker.cpp
ParamTraitsEnumChecker.h
plugin.h
RecurseGuard.h
RefCountedCopyConstructorChecker.cpp
RefCountedCopyConstructorChecker.h
RefCountedInsideLambdaChecker.cpp Bug 1783374 - Adjust RefCountedInsideLambdaChecker to clang trunk changes. r=andi 2022-08-10 08:14:06 +00:00
RefCountedInsideLambdaChecker.h
ScopeChecker.cpp
ScopeChecker.h
SprintfLiteralChecker.cpp
SprintfLiteralChecker.h
StmtToBlockMap.h Bug 1814134 - Fix clang plugin to build with recent clang trunk. r=firefox-build-system-reviewers,ahochheiden 2023-01-31 17:18:03 +00:00
TemporaryLifetimeBoundChecker.cpp
TemporaryLifetimeBoundChecker.h
ThirdPartyPaths.h
ThirdPartyPaths.py Backed out 2 changesets (bug 1776104) as requested by Andi 2022-07-06 19:15:18 +03:00
ThreadAllows.py Bug 1790816 - Reformat build/ with isort. r=linter-reviewers,ahal DONTBUILD 2022-11-24 17:23:47 +00:00
ThreadAllows.txt Bug 1826049 - Make toolkit/components/url-classifier/tests/gtest buildable outside of a unified build environment r=andi 2023-04-03 20:39:58 +00:00
ThreadFileAllows.txt Bug 1772908 - [5/6] Implement WinHandleWatcher r=xpcom-reviewers,nika 2022-12-13 16:38:06 +00:00
TrivialCtorDtorChecker.cpp
TrivialCtorDtorChecker.h
TrivialDtorChecker.cpp
TrivialDtorChecker.h
Utils.h
VariableUsageHelpers.cpp Bug 1814134 - Fix clang plugin to build with recent clang trunk. r=firefox-build-system-reviewers,ahochheiden 2023-01-31 17:18:03 +00:00
VariableUsageHelpers.h