diff options
Diffstat (limited to 'js/src/frontend/FoldConstants.h')
-rw-r--r-- | js/src/frontend/FoldConstants.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/frontend/FoldConstants.h b/js/src/frontend/FoldConstants.h index 1c8455183e..bb64efa9fe 100644 --- a/js/src/frontend/FoldConstants.h +++ b/js/src/frontend/FoldConstants.h @@ -24,10 +24,10 @@ namespace frontend { // return false; // if (!FoldConstants(cx, &pn, parser)) // return false; -MOZ_MUST_USE bool +[[nodiscard]] bool FoldConstants(ExclusiveContext* cx, ParseNode** pnp, Parser<FullParseHandler>* parser); -inline MOZ_MUST_USE bool +[[nodiscard]] inline bool FoldConstants(ExclusiveContext* cx, SyntaxParseHandler::Node* pnp, Parser<SyntaxParseHandler>* parser) { |