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

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

Issue 2271203004: Tweak |in_blink_namespace|, to look at ancestors *and also* at qualifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blink-style-same-type-and-method-name
Patch Set: Created 4 years, 4 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
Index: tools/clang/rewrite_to_chrome_style/tests/functions-original.cc
diff --git a/tools/clang/rewrite_to_chrome_style/tests/functions-original.cc b/tools/clang/rewrite_to_chrome_style/tests/functions-original.cc
index 14530c6570af943f1a6321c360e97ce1bc7fef05..571096f3156d38fab8832879d512a7bf9f93045f 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/functions-original.cc
+++ b/tools/clang/rewrite_to_chrome_style/tests/functions-original.cc
@@ -36,8 +36,12 @@ void F() {
int (*functionPointer)(int, int) = &testFunctionThatTakesTwoInts;
}
+void bug640688(); // Declaration within blink namespace.
+
} // namespace blink
+void blink::bug640688() {} // Definition outside of blink namespace.
+
using blink::testFunctionThatTakesTwoInts;
void G() {

Powered by Google App Engine
This is Rietveld 408576698