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

Unified Diff: tools/clang/rewrite_to_chrome_style/tests/methods-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/methods-expected.cc
diff --git a/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
index dd4fd23501ebc0c7aa5f4ff478fbf17e5513324e..0b07aef279cb1ead1bfdbce8cd4c8b0a098e0c94 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
+++ b/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
@@ -206,3 +206,25 @@ void F2() {
WTF::StructInWTF w;
w.Function();
}
+
+namespace blink {
+
+class ClassDeclaredInsideBlink {
+ public:
+ static void MethodDefinedOutsideBlink();
+};
+
+namespace internal {
+
+class InternalClass {
+ public:
+ static void Method();
+};
+
+} // namespace internal
+
+} // namespace blink
+
+// https://crbug.com/640688 - need to rewrite method name below.
+void blink::ClassDeclaredInsideBlink::MethodDefinedOutsideBlink() {}
+void blink::internal::InternalClass::Method() {}

Powered by Google App Engine
This is Rietveld 408576698