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

Unified Diff: tools/clang/rewrite_to_chrome_style/tests/variables-original.cc

Issue 1557243002: Update rewrite_to_chrome_style tool to also rename methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add constant test case 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/tests/variables-expected.cc ('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/variables-original.cc
diff --git a/tools/clang/rewrite_to_chrome_style/tests/variables-original.cc b/tools/clang/rewrite_to_chrome_style/tests/variables-original.cc
index 94727b76d6a94831950144ea771bedf82c651931..5ae1dbc5f274d0f8a53a9bd67982dc774ad52c95 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/variables-original.cc
+++ b/tools/clang/rewrite_to_chrome_style/tests/variables-original.cc
@@ -24,3 +24,9 @@ int function(int interestingNumber) {
}
} // namespace blink
+
+int F() {
+ // Make sure variables qualified with a namespace name are still rewritten
+ // correctly.
+ return blink::frameCount;
+}
« no previous file with comments | « tools/clang/rewrite_to_chrome_style/tests/variables-expected.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698