mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 14:25:49 +00:00
Bug 1253187 - Remove some warnings in clang-plugin tests, r=ehsan
This commit is contained in:
parent
451a5e300c
commit
856342a4be
@ -6,8 +6,8 @@
|
||||
struct MOZ_HEAP_CLASS Heap {
|
||||
int i;
|
||||
Heap() {}
|
||||
MOZ_IMPLICIT Heap(int i) {}
|
||||
Heap(int i, int j) {}
|
||||
MOZ_IMPLICIT Heap(int a) {}
|
||||
Heap(int a, int b) {}
|
||||
void *operator new(size_t x) throw() { return 0; }
|
||||
void *operator new(size_t blah, char *buffer) { return buffer; }
|
||||
};
|
||||
|
@ -6,8 +6,8 @@
|
||||
struct MOZ_NON_TEMPORARY_CLASS NonTemporary {
|
||||
int i;
|
||||
NonTemporary() {}
|
||||
MOZ_IMPLICIT NonTemporary(int i) {}
|
||||
NonTemporary(int i, int j) {}
|
||||
MOZ_IMPLICIT NonTemporary(int a) {}
|
||||
NonTemporary(int a, int b) {}
|
||||
void *operator new(size_t x) throw() { return 0; }
|
||||
void *operator new(size_t blah, char *buffer) { return buffer; }
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user