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

Unified Diff: tools/clang/rewrite_to_chrome_style/tests/constants-expected.cc

Issue 1644803002: rewrite_to_chrome_style: Don't put a trailing _ on static consts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 | « tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/rewrite_to_chrome_style/tests/constants-expected.cc
diff --git a/tools/clang/rewrite_to_chrome_style/tests/constants-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/constants-expected.cc
index e6b233babee959fa6ea443f9eb25862c0953de0d..1136d2ff24783bab9405c0b052e39dfa165fd209 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/constants-expected.cc
+++ b/tools/clang/rewrite_to_chrome_style/tests/constants-expected.cc
@@ -17,11 +17,11 @@ const float kPi = 3.141592654;
class C {
public:
// Static class constants.
- static const int kUsefulConstant_ = 8;
+ static const int kUsefulConstant = 8;
// Note: s_ prefix should not be retained.
- static const int kStaticConstant_ = 9;
+ static const int kStaticConstant = 9;
// Note: m_ prefix should not be retained even though the proper prefix is s_.
- static const int kSuperNumber_ = 42;
+ static const int kSuperNumber = 42;
// Not a constant even though it has static storage duration.
static const char* current_event_;
« no previous file with comments | « tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698