Index: tools/clang/plugins/tests/system/windows.h |
diff --git a/tools/clang/plugins/tests/system/windows.h b/tools/clang/plugins/tests/system/windows.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..98cc307c27957337bf03fe3ba9310b5039a70cba |
--- /dev/null |
+++ b/tools/clang/plugins/tests/system/windows.h |
@@ -0,0 +1,17 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef TOOLS_CLANG_PLUGINS_TESTS_SYSTEM_WINDOWS_H_ |
+#define TOOLS_CLANG_PLUGINS_TESTS_SYSTEM_WINDOWS_H_ |
+ |
+#define STDMETHOD(x) virtual void x |
+ |
+#define END_COM_MAP() virtual void AddRef() = 0; |
+ |
+#define SYSTEM_REDUNDANT1 virtual void NonVirtualFinal() final |
+#define SYSTEM_REDUNDANT2 virtual void Virtual() override final |
+ |
+#define SYSTEM_INLINE_VIRTUAL virtual int Foo() { return 4; } |
+ |
+#endif // TOOLS_CLANG_PLUGINS_TESTS_SYSTEM_WINDOWS_H_ |