[MD settings] moving attached() code
[chromium-blink-merge.git] / tools / clang / plugins / tests / system / windows.h
blob98cc307c27957337bf03fe3ba9310b5039a70cba
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef TOOLS_CLANG_PLUGINS_TESTS_SYSTEM_WINDOWS_H_
6 #define TOOLS_CLANG_PLUGINS_TESTS_SYSTEM_WINDOWS_H_
8 #define STDMETHOD(x) virtual void x
10 #define END_COM_MAP() virtual void AddRef() = 0;
12 #define SYSTEM_REDUNDANT1 virtual void NonVirtualFinal() final
13 #define SYSTEM_REDUNDANT2 virtual void Virtual() override final
15 #define SYSTEM_INLINE_VIRTUAL virtual int Foo() { return 4; }
17 #endif // TOOLS_CLANG_PLUGINS_TESTS_SYSTEM_WINDOWS_H_