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

Unified Diff: third_party/re2/util/flags.h

Issue 1544433002: Replace RE2 import with a dependency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-Added LICENSE and OWNERS file 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/util/benchmark.cc ('k') | third_party/re2/util/hash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/re2/util/flags.h
diff --git a/third_party/re2/util/flags.h b/third_party/re2/util/flags.h
deleted file mode 100644
index 98d5c0665fbc85436b021bebf1ab4ea7ce990c99..0000000000000000000000000000000000000000
--- a/third_party/re2/util/flags.h
+++ /dev/null
@@ -1,27 +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.
-
-// Simplified version of Google's command line flags.
-// Does not support parsing the command line.
-// If you want to do that, see
-// https://gflags.github.io/gflags/
-
-#ifndef RE2_UTIL_FLAGS_H__
-#define RE2_UTIL_FLAGS_H__
-
-#define DEFINE_flag(type, name, deflt, desc) \
- namespace re2 { type FLAGS_##name = deflt; }
-
-#define DECLARE_flag(type, name) \
- namespace re2 { extern type FLAGS_##name; }
-
-#define DEFINE_bool(name, deflt, desc) DEFINE_flag(bool, name, deflt, desc)
-#define DEFINE_int32(name, deflt, desc) DEFINE_flag(int32, name, deflt, desc)
-#define DEFINE_string(name, deflt, desc) DEFINE_flag(string, name, deflt, desc)
-
-#define DECLARE_bool(name) DECLARE_flag(bool, name)
-#define DECLARE_int32(name) DECLARE_flag(int32, name)
-#define DECLARE_string(name) DECLARE_flag(string, name)
-
-#endif // RE2_UTIL_FLAGS_H__
« no previous file with comments | « third_party/re2/util/benchmark.cc ('k') | third_party/re2/util/hash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698