blob: 2341e4d9103dd1f07a13bd224f1b9a74f2aee647 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "taintable.h"
namespace vbench {
namespace {
struct Untaintable : Taintable {
Taint taint;
const Taint &tainted() const override { return taint; }
~Untaintable() {}
};
Untaintable untaintable;
} // namespace vbench::<unnamed>
const Taintable &
Taintable::nil()
{
return untaintable;
}
} // namespace vbench
|