summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/ms-iunknown-template-function.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update IUnknown lit test to pass on Win32Erich Keane2017-10-021-3/+3
| | | | llvm-svn: 314687
* clang/test/SemaCXX/ms-iunknown-template-function.cpp: Appease for targeting ↵NAKAMURA Takumi2017-09-301-1/+1
| | | | | | | | | | | | | | | *-win32. This expects the warning; File clang/test/SemaCXX/ms-iunknown-template-function.cpp Line 19: __declspec attribute 'novtable' is not supported But for targeting *-win32, the warning is not seen. error: 'warning' diagnostics expected but not seen: File clang\test\SemaCXX\ms-iunknown-template-function.cpp Line 19 (directive at clang\test\SemaCXX\ms-iunknown-template-function.cpp:18): __declspec attribute 'novtable' llvm-svn: 314586
* [Sema] Correct IUnknown to support Unknwnbase.h Header.Erich Keane2017-09-291-0/+39
Apparently, the MSVC SDK has a strange implementation that causes a number of implicit functions as well as a template member function of the IUnknown type. This patch allows these as InterfaceLike types as well. Additionally, it corrects the behavior where extern-C++ wrapped around an Interface-Like type would permit an interface-like type to exist in a namespace. Differential Revision: https://reviews.llvm.org/D38303 llvm-svn: 314557
OpenPOWER on IntegriCloud