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

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

Issue 2274653002: Handling of UnresolvedUsingValueDecl nodes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blink-style-new-clang
Patch Set: Removing IsCallee + tweaking a comment. Created 4 years, 1 month 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/template-expected.cc
diff --git a/tools/clang/rewrite_to_chrome_style/tests/template-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/template-expected.cc
index c9a1fe8d4cb85257ff2f9df69854915c25b7d1f0..a7f42051912159954aa9badeaa837a09954e55a9 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/template-expected.cc
+++ b/tools/clang/rewrite_to_chrome_style/tests/template-expected.cc
@@ -119,6 +119,25 @@ void Test() {
} // test_template_arg_is_method_template_in_non_member_context
+namespace test_inherited_field {
+
+template <typename T>
+class BaseClass {
+ public:
+ unsigned long size_;
+};
+
+template <typename T>
+class DerivedClass : protected BaseClass<T> {
+ private:
+ using Base = BaseClass<T>;
+ // https://crbug.com/640016: Need to rewrite |m_size| into |size_|.
+ using Base::size_;
+ void Method() { size_ = 123; }
+};
+
+} // namespace test_inherited_field
+
namespace test_template_arg_is_method_template_in_member_context {
struct Class {

Powered by Google App Engine
This is Rietveld 408576698