Silence the warning about operator new returning null in TestNonHeapClass.cpp; r=jrmuizel

RESOLVED FIXED in mozilla37

Status

Firefox Build System
Source Code Analysis
RESOLVED FIXED
3 years ago
2 months ago

People

(Reporter: Ehsan, Assigned: Ehsan)

Tracking

unspecified
mozilla37

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
clang issues the following warning on this:
'operator new' should not return a null pointer unless it is declared 'throw()' or 'noexcept'
(Assignee)

Comment 1

3 years ago
Created attachment 8536288 [details] [diff] [review]
Silence the warning about operator new returning null in TestNonHeapClass.cpp
Attachment #8536288 - Flags: review?(jmuizelaar)
(Assignee)

Updated

3 years ago
Assignee: nobody → ehsan.akhgari
Attachment #8536288 - Flags: review?(jmuizelaar) → review+
https://hg.mozilla.org/mozilla-central/rev/b50f7347bb97
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37

Updated

2 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.