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/functions-expected.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: Using hasTopLevelPrefix instead of hasPrefix. 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-expected.cc
diff --git a/tools/clang/rewrite_to_chrome_style/tests/functions-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/functions-expected.cc
index ed8928b68913992eeb5644cb6fab72302b4bfa42..304e3ef50b9d2456c2d1b884cabe005f83069471 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/functions-expected.cc
+++ b/tools/clang/rewrite_to_chrome_style/tests/functions-expected.cc
@@ -36,8 +36,15 @@ void F() {
int (*function_pointer)(int, int) = &TestFunctionThatTakesTwoInts;
}
+void Bug640688(int); // Declaration within blink namespace.
+
} // namespace blink
+// Definition outside of blink namespace.
+void blink::Bug640688(int my_param) {
+ char my_variable = 'c';
+}
+
using blink::TestFunctionThatTakesTwoInts;
void G() {

Powered by Google App Engine
This is Rietveld 408576698