aboutsummaryrefslogtreecommitdiff
path: root/util/valgrind.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/valgrind.cc')
-rw-r--r--util/valgrind.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/util/valgrind.cc b/util/valgrind.cc
deleted file mode 100644
index 46f804b..0000000
--- a/util/valgrind.cc
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2009 The RE2 Authors. All Rights Reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-#include "util/util.h"
-#include "util/valgrind.h"
-
-namespace re2 {
-
-int RunningOnValgrind() {
-#ifdef RUNNING_ON_VALGRIND
- return RUNNING_ON_VALGRIND;
-#else
- return 0;
-#endif
-}
-
-} // namespace re2