gecko-dev/dom/xslt/xpath
Eric Rahm 2928a42550 Bug 1632613 - Part 4e: Handle assignment to `UniquePtr` properly and silence warnings from `release` calls. r=peterv
`UniquePtr` doesn't allow assignment from raw pointers so we update callsites appropriately:
  - Assignment from `new` is mapped to `MakeUnique`
  - Assignment from pointer params or factory functions ware wrapped with `WrapUnique`
  - Assignment from `release` calls are switched to `std::move`

Additionally standalone release calls are piped into `mozilla::Unused` to stifle warnings and document that dropping the pointer is intentional.

Differential Revision: https://phabricator.services.mozilla.com/D72438
2020-04-27 10:24:56 +00:00
..
XPathEvaluator.cpp Bug 1632613 - Part 4b: Swap out nsAutoPtr type for UniquePtr. r=peterv 2020-04-27 09:18:33 +00:00
XPathEvaluator.h Bug 1632613 - Part 2: Remove unused nsAutoPtr includes. r=peterv 2020-04-27 10:25:29 +00:00
XPathExpression.cpp Bug 1632613 - Part 4b: Swap out nsAutoPtr type for UniquePtr. r=peterv 2020-04-27 09:18:33 +00:00
XPathExpression.h Bug 1632613 - Part 4b: Swap out nsAutoPtr type for UniquePtr. r=peterv 2020-04-27 09:18:33 +00:00
XPathResult.cpp Bug 1632613 - Part 4b: Swap out nsAutoPtr type for UniquePtr. r=peterv 2020-04-27 09:18:33 +00:00
XPathResult.h Bug 1632613 - Part 2: Remove unused nsAutoPtr includes. r=peterv 2020-04-27 10:25:29 +00:00
moz.build
txBooleanExpr.cpp
txBooleanResult.cpp
txCoreFunctionCall.cpp Bug 1632613 - Part 2: Remove unused nsAutoPtr includes. r=peterv 2020-04-27 10:25:29 +00:00
txErrorExpr.cpp
txExpr.cpp
txExpr.h Bug 1632613 - Part 4e: Handle assignment to `UniquePtr` properly and silence warnings from `release` calls. r=peterv 2020-04-27 10:24:56 +00:00
txExprLexer.cpp
txExprLexer.h
txExprParser.cpp Bug 1632613 - Part 4e: Handle assignment to `UniquePtr` properly and silence warnings from `release` calls. r=peterv 2020-04-27 10:24:56 +00:00
txExprParser.h Bug 1632613 - Part 4b: Swap out nsAutoPtr type for UniquePtr. r=peterv 2020-04-27 09:18:33 +00:00
txExprResult.h Bug 1632613 - Part 2: Remove unused nsAutoPtr includes. r=peterv 2020-04-27 10:25:29 +00:00
txFilterExpr.cpp Bug 1632613 - Part 4e: Handle assignment to `UniquePtr` properly and silence warnings from `release` calls. r=peterv 2020-04-27 10:24:56 +00:00
txForwardContext.cpp
txForwardContext.h Bug 1632613 - Part 2: Remove unused nsAutoPtr includes. r=peterv 2020-04-27 10:25:29 +00:00
txFunctionCall.cpp
txIXPathContext.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xslt. r=smaug 2020-03-09 15:23:57 +00:00
txLiteralExpr.cpp
txLocationStep.cpp Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj 2019-12-20 07:16:43 +00:00
txMozillaXPathTreeWalker.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xslt. r=smaug 2020-03-09 15:23:57 +00:00
txNameTest.cpp
txNamedAttributeStep.cpp
txNodeSet.cpp
txNodeSet.h
txNodeSetContext.cpp
txNodeSetContext.h Bug 1632613 - Part 2: Remove unused nsAutoPtr includes. r=peterv 2020-04-27 10:25:29 +00:00
txNodeTypeTest.cpp
txNumberExpr.cpp
txNumberResult.cpp
txPathExpr.cpp Bug 1632613 - Part 4e: Handle assignment to `UniquePtr` properly and silence warnings from `release` calls. r=peterv 2020-04-27 10:24:56 +00:00
txPredicateList.cpp
txPredicatedNodeTest.cpp
txRelationalExpr.cpp
txResultRecycler.cpp
txResultRecycler.h Bug 1632613 - Part 2: Remove unused nsAutoPtr includes. r=peterv 2020-04-27 10:25:29 +00:00
txRootExpr.cpp
txSingleNodeContext.h
txStringResult.cpp
txUnaryExpr.cpp
txUnionExpr.cpp
txUnionNodeTest.cpp
txVariableRefExpr.cpp
txXPathNode.h Bug 1632613 - Part 2: Remove unused nsAutoPtr includes. r=peterv 2020-04-27 10:25:29 +00:00
txXPathOptimizer.cpp Bug 1632613 - Part 4e: Handle assignment to `UniquePtr` properly and silence warnings from `release` calls. r=peterv 2020-04-27 10:24:56 +00:00
txXPathOptimizer.h
txXPathTreeWalker.h