gecko-dev/build/clang-plugin
Aaron Klotz 20bd2d4b30 Bug 1569681: Part 2 - Add new clang-plugin tests for moz_static_local_class and moz_trivial_destructor attributes; r=Ehsan
These tests are based on `moz_global_class` and `moz_trivial_ctor_dtor` tests,
respectively, but adapted for the semantics of the new attributes.

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

--HG--
rename : build/clang-plugin/tests/TestGlobalClass.cpp => build/clang-plugin/tests/TestStaticLocalClass.cpp
rename : build/clang-plugin/tests/TestTrivialCtorDtor.cpp => build/clang-plugin/tests/TestTrivialDtor.cpp
extra : moz-landing-system : lando
2019-07-30 18:50:54 +00:00
..
mozsearch-plugin Bug 1533802 - Sticky nesting for C++, Rust, JS r=kats 2019-06-04 20:49:34 +00:00
tests Bug 1569681: Part 2 - Add new clang-plugin tests for moz_static_local_class and moz_trivial_destructor attributes; r=Ehsan 2019-07-30 18:50: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 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 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02: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 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
ChecksIncludes.inc 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
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 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
CustomMatchers.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
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 Bug 1374024 - add checker to prevent dangling pointers returned by method calls on temporaries. r=mystor 2017-07-05 16:14:21 +02:00
DiagnosticsMatcher.cpp Bug 1434326: Cleanup DiagnosticsMatcher constructor. r=mystor 2018-01-30 17:40:00 +01: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
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 1535651. Whitelist std::__pair_base as memmovable for static analysis purposes. r=emilio 2019-03-15 16:17:52 +00:00
MozCheckAction.cpp Bug 1501903 - Cache the results of inThirdPartyPath. r=andi 2018-10-25 21:21:36 +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 1487622 - Refactor the clang plugin wrt attributes r=andi 2018-09-18 13:03:33 +00:00
MustOverrideChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
MustReturnFromCallerChecker.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
MustReturnFromCallerChecker.h Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02: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 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
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
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
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 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
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
ThirdPartyPaths.h Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs 2019-07-08 09:27:47 +00:00
ThirdPartyPaths.py bug 1463425 - Fix flake8/pep8 issue by hand in build/ r=gps 2018-05-21 23:58:19 +02: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 1536825. Fix the interaction of ignoreTrivials and typechecks in MOZ_CAN_RUN_SCRIPT analysis. r=andi 2019-03-21 11:50:55 +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
import_mozilla_checks.py Bug 1536790 - Also import clangTidyMPIModule when building the clang-plugin r=andi 2019-04-01 12:24:37 +00:00
moz.build 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
plugin.h 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