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

Unified Diff: base/strings/stringize_macros.h

Issue 1647803004: Move base to DEPS (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 11 months 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 | « base/strings/string_util_win.h ('k') | base/strings/stringize_macros_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/strings/stringize_macros.h
diff --git a/base/strings/stringize_macros.h b/base/strings/stringize_macros.h
deleted file mode 100644
index d4e27071e452b3bdf16c57804f4d37d21050cf23..0000000000000000000000000000000000000000
--- a/base/strings/stringize_macros.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-//
-// This file defines preprocessor macros for stringizing preprocessor
-// symbols (or their output) and manipulating preprocessor symbols
-// that define strings.
-
-#ifndef BASE_STRINGS_STRINGIZE_MACROS_H_
-#define BASE_STRINGS_STRINGIZE_MACROS_H_
-
-#include "build/build_config.h"
-
-// This is not very useful as it does not expand defined symbols if
-// called directly. Use its counterpart without the _NO_EXPANSION
-// suffix, below.
-#define STRINGIZE_NO_EXPANSION(x) #x
-
-// Use this to quote the provided parameter, first expanding it if it
-// is a preprocessor symbol.
-//
-// For example, if:
-// #define A FOO
-// #define B(x) myobj->FunctionCall(x)
-//
-// Then:
-// STRINGIZE(A) produces "FOO"
-// STRINGIZE(B(y)) produces "myobj->FunctionCall(y)"
-#define STRINGIZE(x) STRINGIZE_NO_EXPANSION(x)
-
-#endif // BASE_STRINGS_STRINGIZE_MACROS_H_
« no previous file with comments | « base/strings/string_util_win.h ('k') | base/strings/stringize_macros_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698