Index: tools/clang/plugins/tests/missing_ctor_dllexport.txt |
diff --git a/tools/clang/plugins/tests/missing_ctor_dllexport.txt b/tools/clang/plugins/tests/missing_ctor_dllexport.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..403a11857da6eb36b4858ca06c7f97e4ddf49673 |
--- /dev/null |
+++ b/tools/clang/plugins/tests/missing_ctor_dllexport.txt |
@@ -0,0 +1,14 @@ |
+In file included from missing_ctor_dllexport.cpp:5: |
+./missing_ctor_dllexport.h:23:1: warning: [chromium-style] Complex class/struct needs an explicit out-of-line constructor. |
+class __declspec(dllexport) MissingCtorsArentOKInHeader { |
+^ |
+./missing_ctor_dllexport.h:47:3: warning: [chromium-style] Complex constructor has an inlined body. |
+ ExplicitlyDefaultedInlineAlsoWarns() = default; |
+ ^ |
+./missing_ctor_dllexport.h:49:3: warning: [chromium-style] Complex constructor has an inlined body. |
+ ExplicitlyDefaultedInlineAlsoWarns( |
+ ^ |
+./missing_ctor_dllexport.h:51:3: warning: [chromium-style] Complex constructor has an inlined body. |
+ ExplicitlyDefaultedInlineAlsoWarns(ExplicitlyDefaultedInlineAlsoWarns&&) = |
+ ^ |
+4 warnings generated. |