Reviewed By: jeremydubreil Differential Revision: D7107581 fbshipit-source-id: 87cde65master
parent
d74f189dfe
commit
89a6d7e20d
@ -0,0 +1,24 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2018 - present Facebook, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the BSD style license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree. An additional grant
|
||||||
|
* of patent rights can be found in the PATENTS file in the same directory.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package com.racerd.donotreport;
|
||||||
|
|
||||||
|
import com.facebook.infer.annotation.ThreadSafe;
|
||||||
|
|
||||||
|
@ThreadSafe
|
||||||
|
class DoNotReport {
|
||||||
|
|
||||||
|
int mFld;
|
||||||
|
|
||||||
|
// normally we would report this, but we won't because com.racerd.donotreport is blacklisted in
|
||||||
|
// .inferconfig
|
||||||
|
void obviousRaceBad(int i) {
|
||||||
|
mFld = i;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue