Bug 1253187 - Remove some warnings in clang-plugin tests, r=ehsan

This commit is contained in:
Andrea Marchesini 2016-03-03 18:31:12 +01:00
parent 451a5e300c
commit 856342a4be
2 changed files with 4 additions and 4 deletions

View File

@ -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; }
};

View File

@ -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; }
};