gecko-dev/build/clang-plugin/tests
Chris Peterson a1ad17215e Bug 1800294 - clang-plugin: expect constexpr constructor error when compiling as C++17 but not C++20. r=firefox-static-analysis-reviewers,andi
C++20 allows non-trivial constexpr constructors, so this BadUnfortunateError check passes unexpectedly when compiled as C++20:

> error: 'error' diagnostics expected but not seen: build/clang-plugin/tests/TestTrivialCtorDtor.cpp Line 81: class 'BadUnfortunateError' must have trivial constructors and destructors

This constexpr constructor check was added in bug 1226376.

Differential Revision: https://phabricator.services.mozilla.com/D161951
2022-11-15 03:15:13 +00:00
..
Makefile.in
NonParameterTestCases.h
TestAssertWithAssignment.cpp
TestBadImplicitConversionCtor.cpp
TestCanRunScript.cpp Bug 1718825 - Treat strong pointers which are members of class/struct and marked as `MOZ_KNOWN_LIVE` as safe r=andi 2022-02-02 00:48:19 +00:00
TestCustomHeap.cpp
TestDanglingOnTemporary.cpp
TestExplicitOperatorBool.cpp
TestFopenUsage.cpp
TestGlobalClass.cpp
TestHeapClass.cpp
TestInheritTypeAnnotationsFromTemplateArgs.cpp
TestJSHandleRootedTypedef.cpp Bug 1769290 - Part 26: Emit errors from JSHandleRootedTypedefChecker r=andi,geckoview-reviewers,owlish 2022-08-09 14:13:30 +00:00
TestKnownLive.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
TestKungFuDeathGrip.cpp
TestLoadLibraryUsage.cpp
TestMultipleAnnotations.cpp
TestMustOverride.cpp
TestMustReturnFromCaller.cpp
TestNANTestingExpr.cpp
TestNANTestingExprC.c
TestNeedsNoVTableType.cpp
TestNoAddRefReleaseOnReturn.cpp
TestNoArithmeticExprInArgument.cpp
TestNoAutoType.cpp
TestNoDuplicateRefCntMember.cpp
TestNoExplicitMoveConstructor.cpp
TestNoNewThreadsChecker.cpp
TestNoPrincipalGetUri.cpp Bug 1779346 - Fix NoPrincipalGetURI matchers. r=andi 2022-07-22 07:59:35 +00:00
TestNoRefcountedInsideLambdas.cpp
TestNoUsingNamespaceMozillaJava.cpp
TestNonHeapClass.cpp
TestNonMemMovable.cpp
TestNonMemMovableStd.cpp Bug 1744604 - Part 2: Be less restrictive with the non-memmovable static analysis, r=andi 2021-12-14 16:49:17 +00:00
TestNonMemMovableStdAtomic.cpp
TestNonParameterChecker.cpp 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
TestNonTemporaryClass.cpp
TestNonTrivialTypeInFfi.cpp
TestOverrideBaseCall.cpp
TestOverrideBaseCallAnnotation.cpp
TestParamTraitsEnum.cpp
TestRefCountedCopyConstructor.cpp
TestSprintfLiteral.cpp
TestStackClass.cpp
TestStaticLocalClass.cpp
TestTemporaryClass.cpp
TestTemporaryLifetimeBound.cpp
TestTrivialCtorDtor.cpp Bug 1800294 - clang-plugin: expect constexpr constructor error when compiling as C++17 but not C++20. r=firefox-static-analysis-reviewers,andi 2022-11-15 03:15:13 +00:00
TestTrivialDtor.cpp
moz.build 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