Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: third_party/re2/re2/testing/exhaustive_tester.h

Issue 1530113002: Revert of Update re2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/re2/re2/testing/exhaustive3_test.cc ('k') | third_party/re2/re2/testing/exhaustive_tester.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/re2/re2/testing/exhaustive_tester.h
diff --git a/third_party/re2/re2/testing/exhaustive_tester.h b/third_party/re2/re2/testing/exhaustive_tester.h
index 1facb9798acdac9e2a20e69c2e8013b0621a1750..38a139f58859ac72ac28224678cba17385f2b702 100644
--- a/third_party/re2/re2/testing/exhaustive_tester.h
+++ b/third_party/re2/re2/testing/exhaustive_tester.h
@@ -12,16 +12,6 @@
#include "re2/testing/string_generator.h"
namespace re2 {
-
-#if !defined(NDEBUG)
-// We are in a debug build.
-const bool RE2_DEBUG_MODE = true;
-#elif ADDRESS_SANITIZER || MEMORY_SANITIZER || THREAD_SANITIZER
-// Not a debug build, but still under sanitizers.
-const bool RE2_DEBUG_MODE = true;
-#else
-const bool RE2_DEBUG_MODE = false;
-#endif
// Exhaustive regular expression test: generate all regexps within parameters,
// then generate all strings of a given length over a given alphabet,
@@ -73,7 +63,7 @@
bool randomstrings_; // Whether to use random strings
int32 stringseed_; // If so, the seed.
int stringcount_; // If so, how many to generate.
- DISALLOW_COPY_AND_ASSIGN(ExhaustiveTester);
+ DISALLOW_EVIL_CONSTRUCTORS(ExhaustiveTester);
};
// Runs an exhaustive test on the given parameters.
« no previous file with comments | « third_party/re2/re2/testing/exhaustive3_test.cc ('k') | third_party/re2/re2/testing/exhaustive_tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698