Index: tools/clang/plugins/tests/weak_ptr_factory.txt |
diff --git a/tools/clang/plugins/tests/weak_ptr_factory.txt b/tools/clang/plugins/tests/weak_ptr_factory.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..53bfd58c7e1dd57dafd29bee05cf4c7f99ac1121 |
--- /dev/null |
+++ b/tools/clang/plugins/tests/weak_ptr_factory.txt |
@@ -0,0 +1,13 @@ |
+weak_ptr_factory.cpp:54:38: warning: [chromium-style] WeakPtrFactory members which refer to their outer class must be the last member in the outer class definition. |
+ base::WeakPtrFactory<FactoryFirst> factory_; |
+ ^ |
+weak_ptr_factory.cpp:60:39: warning: [chromium-style] WeakPtrFactory members which refer to their outer class must be the last member in the outer class definition. |
+ base::WeakPtrFactory<FactoryMiddle> factory_; |
+ ^ |
+weak_ptr_factory.cpp:66:44: warning: [chromium-style] WeakPtrFactory members which refer to their outer class must be the last member in the outer class definition. |
+ base::WeakPtrFactory<TwoFactoriesOneBad> factory1_; |
+ ^ |
+weak_ptr_factory.cpp:76:39: warning: [chromium-style] WeakPtrFactory members which refer to their outer class must be the last member in the outer class definition. |
+ base::WeakPtrFactory<ClassTemplate> factory_; |
+ ^ |
+4 warnings generated. |